@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
991 lines • 170 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataAzurermAppService = exports.DataAzurermAppServiceTimeoutsOutputReference = exports.dataAzurermAppServiceTimeoutsToHclTerraform = exports.dataAzurermAppServiceTimeoutsToTerraform = exports.DataAzurermAppServiceSourceControlList = exports.DataAzurermAppServiceSourceControlOutputReference = exports.dataAzurermAppServiceSourceControlToHclTerraform = exports.dataAzurermAppServiceSourceControlToTerraform = exports.DataAzurermAppServiceSiteCredentialList = exports.DataAzurermAppServiceSiteCredentialOutputReference = exports.dataAzurermAppServiceSiteCredentialToHclTerraform = exports.dataAzurermAppServiceSiteCredentialToTerraform = exports.DataAzurermAppServiceSiteConfigList = exports.DataAzurermAppServiceSiteConfigOutputReference = exports.dataAzurermAppServiceSiteConfigToHclTerraform = exports.dataAzurermAppServiceSiteConfigToTerraform = exports.DataAzurermAppServiceSiteConfigScmIpRestrictionList = exports.DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference = exports.dataAzurermAppServiceSiteConfigScmIpRestrictionToHclTerraform = exports.dataAzurermAppServiceSiteConfigScmIpRestrictionToTerraform = exports.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList = exports.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference = exports.dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToHclTerraform = exports.dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToTerraform = exports.DataAzurermAppServiceSiteConfigIpRestrictionList = exports.DataAzurermAppServiceSiteConfigIpRestrictionOutputReference = exports.dataAzurermAppServiceSiteConfigIpRestrictionToHclTerraform = exports.dataAzurermAppServiceSiteConfigIpRestrictionToTerraform = exports.DataAzurermAppServiceSiteConfigIpRestrictionHeadersList = exports.DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference = exports.dataAzurermAppServiceSiteConfigIpRestrictionHeadersToHclTerraform = exports.dataAzurermAppServiceSiteConfigIpRestrictionHeadersToTerraform = exports.DataAzurermAppServiceSiteConfigCorsList = exports.DataAzurermAppServiceSiteConfigCorsOutputReference = exports.dataAzurermAppServiceSiteConfigCorsToHclTerraform = exports.dataAzurermAppServiceSiteConfigCorsToTerraform = exports.DataAzurermAppServiceConnectionStringList = exports.DataAzurermAppServiceConnectionStringOutputReference = exports.dataAzurermAppServiceConnectionStringToHclTerraform = exports.dataAzurermAppServiceConnectionStringToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAzurermAppServiceConnectionStringToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceConnectionStringToTerraform = dataAzurermAppServiceConnectionStringToTerraform;
function dataAzurermAppServiceConnectionStringToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceConnectionStringToHclTerraform = dataAzurermAppServiceConnectionStringToHclTerraform;
class DataAzurermAppServiceConnectionStringOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataAzurermAppServiceConnectionStringOutputReference = DataAzurermAppServiceConnectionStringOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceConnectionStringOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceConnectionStringOutputReference", version: "12.27.0" };
class DataAzurermAppServiceConnectionStringList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceConnectionStringOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceConnectionStringList = DataAzurermAppServiceConnectionStringList;
_b = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceConnectionStringList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceConnectionStringList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigCorsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigCorsToTerraform = dataAzurermAppServiceSiteConfigCorsToTerraform;
function dataAzurermAppServiceSiteConfigCorsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigCorsToHclTerraform = dataAzurermAppServiceSiteConfigCorsToHclTerraform;
class DataAzurermAppServiceSiteConfigCorsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// allowed_origins - computed: true, optional: false, required: false
get allowedOrigins() {
return cdktf.Fn.tolist(this.getListAttribute('allowed_origins'));
}
// support_credentials - computed: true, optional: false, required: false
get supportCredentials() {
return this.getBooleanAttribute('support_credentials');
}
}
exports.DataAzurermAppServiceSiteConfigCorsOutputReference = DataAzurermAppServiceSiteConfigCorsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigCorsOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigCorsOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigCorsList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigCorsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigCorsList = DataAzurermAppServiceSiteConfigCorsList;
_d = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigCorsList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigCorsList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigIpRestrictionHeadersToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigIpRestrictionHeadersToTerraform = dataAzurermAppServiceSiteConfigIpRestrictionHeadersToTerraform;
function dataAzurermAppServiceSiteConfigIpRestrictionHeadersToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigIpRestrictionHeadersToHclTerraform = dataAzurermAppServiceSiteConfigIpRestrictionHeadersToHclTerraform;
class DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// x_azure_fdid - computed: true, optional: false, required: false
get xAzureFdid() {
return cdktf.Fn.tolist(this.getListAttribute('x_azure_fdid'));
}
// x_fd_health_probe - computed: true, optional: false, required: false
get xFdHealthProbe() {
return cdktf.Fn.tolist(this.getListAttribute('x_fd_health_probe'));
}
// x_forwarded_for - computed: true, optional: false, required: false
get xForwardedFor() {
return cdktf.Fn.tolist(this.getListAttribute('x_forwarded_for'));
}
// x_forwarded_host - computed: true, optional: false, required: false
get xForwardedHost() {
return cdktf.Fn.tolist(this.getListAttribute('x_forwarded_host'));
}
}
exports.DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference = DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigIpRestrictionHeadersList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigIpRestrictionHeadersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigIpRestrictionHeadersList = DataAzurermAppServiceSiteConfigIpRestrictionHeadersList;
_f = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigIpRestrictionHeadersList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigIpRestrictionHeadersList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigIpRestrictionToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigIpRestrictionToTerraform = dataAzurermAppServiceSiteConfigIpRestrictionToTerraform;
function dataAzurermAppServiceSiteConfigIpRestrictionToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigIpRestrictionToHclTerraform = dataAzurermAppServiceSiteConfigIpRestrictionToHclTerraform;
class DataAzurermAppServiceSiteConfigIpRestrictionOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// headers - computed: true, optional: false, required: false
this._headers = new DataAzurermAppServiceSiteConfigIpRestrictionHeadersList(this, "headers", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// action - computed: true, optional: false, required: false
get action() {
return this.getStringAttribute('action');
}
get headers() {
return this._headers;
}
// ip_address - computed: true, optional: false, required: false
get ipAddress() {
return this.getStringAttribute('ip_address');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// priority - computed: true, optional: false, required: false
get priority() {
return this.getNumberAttribute('priority');
}
// service_tag - computed: true, optional: false, required: false
get serviceTag() {
return this.getStringAttribute('service_tag');
}
// virtual_network_subnet_id - computed: true, optional: false, required: false
get virtualNetworkSubnetId() {
return this.getStringAttribute('virtual_network_subnet_id');
}
}
exports.DataAzurermAppServiceSiteConfigIpRestrictionOutputReference = DataAzurermAppServiceSiteConfigIpRestrictionOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigIpRestrictionOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigIpRestrictionOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigIpRestrictionList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigIpRestrictionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigIpRestrictionList = DataAzurermAppServiceSiteConfigIpRestrictionList;
_h = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigIpRestrictionList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigIpRestrictionList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToTerraform = dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToTerraform;
function dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToHclTerraform = dataAzurermAppServiceSiteConfigScmIpRestrictionHeadersToHclTerraform;
class DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// x_azure_fdid - computed: true, optional: false, required: false
get xAzureFdid() {
return cdktf.Fn.tolist(this.getListAttribute('x_azure_fdid'));
}
// x_fd_health_probe - computed: true, optional: false, required: false
get xFdHealthProbe() {
return cdktf.Fn.tolist(this.getListAttribute('x_fd_health_probe'));
}
// x_forwarded_for - computed: true, optional: false, required: false
get xForwardedFor() {
return cdktf.Fn.tolist(this.getListAttribute('x_forwarded_for'));
}
// x_forwarded_host - computed: true, optional: false, required: false
get xForwardedHost() {
return cdktf.Fn.tolist(this.getListAttribute('x_forwarded_host'));
}
}
exports.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference = DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList = DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList;
_k = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigScmIpRestrictionToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigScmIpRestrictionToTerraform = dataAzurermAppServiceSiteConfigScmIpRestrictionToTerraform;
function dataAzurermAppServiceSiteConfigScmIpRestrictionToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigScmIpRestrictionToHclTerraform = dataAzurermAppServiceSiteConfigScmIpRestrictionToHclTerraform;
class DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// headers - computed: true, optional: false, required: false
this._headers = new DataAzurermAppServiceSiteConfigScmIpRestrictionHeadersList(this, "headers", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// action - computed: true, optional: false, required: false
get action() {
return this.getStringAttribute('action');
}
get headers() {
return this._headers;
}
// ip_address - computed: true, optional: false, required: false
get ipAddress() {
return this.getStringAttribute('ip_address');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// priority - computed: true, optional: false, required: false
get priority() {
return this.getNumberAttribute('priority');
}
// service_tag - computed: true, optional: false, required: false
get serviceTag() {
return this.getStringAttribute('service_tag');
}
// virtual_network_subnet_id - computed: true, optional: false, required: false
get virtualNetworkSubnetId() {
return this.getStringAttribute('virtual_network_subnet_id');
}
}
exports.DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference = DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference[_l] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigScmIpRestrictionList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigScmIpRestrictionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigScmIpRestrictionList = DataAzurermAppServiceSiteConfigScmIpRestrictionList;
_m = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigScmIpRestrictionList[_m] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigScmIpRestrictionList", version: "12.27.0" };
function dataAzurermAppServiceSiteConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteConfigToTerraform = dataAzurermAppServiceSiteConfigToTerraform;
function dataAzurermAppServiceSiteConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteConfigToHclTerraform = dataAzurermAppServiceSiteConfigToHclTerraform;
class DataAzurermAppServiceSiteConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// cors - computed: true, optional: false, required: false
this._cors = new DataAzurermAppServiceSiteConfigCorsList(this, "cors", false);
// ip_restriction - computed: true, optional: false, required: false
this._ipRestriction = new DataAzurermAppServiceSiteConfigIpRestrictionList(this, "ip_restriction", false);
// scm_ip_restriction - computed: true, optional: false, required: false
this._scmIpRestriction = new DataAzurermAppServiceSiteConfigScmIpRestrictionList(this, "scm_ip_restriction", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// acr_use_managed_identity_credentials - computed: true, optional: false, required: false
get acrUseManagedIdentityCredentials() {
return this.getBooleanAttribute('acr_use_managed_identity_credentials');
}
// acr_user_managed_identity_client_id - computed: true, optional: false, required: false
get acrUserManagedIdentityClientId() {
return this.getStringAttribute('acr_user_managed_identity_client_id');
}
// always_on - computed: true, optional: false, required: false
get alwaysOn() {
return this.getBooleanAttribute('always_on');
}
// app_command_line - computed: true, optional: false, required: false
get appCommandLine() {
return this.getStringAttribute('app_command_line');
}
get cors() {
return this._cors;
}
// default_documents - computed: true, optional: false, required: false
get defaultDocuments() {
return this.getListAttribute('default_documents');
}
// dotnet_framework_version - computed: true, optional: false, required: false
get dotnetFrameworkVersion() {
return this.getStringAttribute('dotnet_framework_version');
}
// ftps_state - computed: true, optional: false, required: false
get ftpsState() {
return this.getStringAttribute('ftps_state');
}
// health_check_path - computed: true, optional: false, required: false
get healthCheckPath() {
return this.getStringAttribute('health_check_path');
}
// http2_enabled - computed: true, optional: false, required: false
get http2Enabled() {
return this.getBooleanAttribute('http2_enabled');
}
get ipRestriction() {
return this._ipRestriction;
}
// java_container - computed: true, optional: false, required: false
get javaContainer() {
return this.getStringAttribute('java_container');
}
// java_container_version - computed: true, optional: false, required: false
get javaContainerVersion() {
return this.getStringAttribute('java_container_version');
}
// java_version - computed: true, optional: false, required: false
get javaVersion() {
return this.getStringAttribute('java_version');
}
// linux_fx_version - computed: true, optional: false, required: false
get linuxFxVersion() {
return this.getStringAttribute('linux_fx_version');
}
// local_mysql_enabled - computed: true, optional: false, required: false
get localMysqlEnabled() {
return this.getBooleanAttribute('local_mysql_enabled');
}
// managed_pipeline_mode - computed: true, optional: false, required: false
get managedPipelineMode() {
return this.getStringAttribute('managed_pipeline_mode');
}
// min_tls_version - computed: true, optional: false, required: false
get minTlsVersion() {
return this.getStringAttribute('min_tls_version');
}
// number_of_workers - computed: true, optional: false, required: false
get numberOfWorkers() {
return this.getNumberAttribute('number_of_workers');
}
// php_version - computed: true, optional: false, required: false
get phpVersion() {
return this.getStringAttribute('php_version');
}
// python_version - computed: true, optional: false, required: false
get pythonVersion() {
return this.getStringAttribute('python_version');
}
// remote_debugging_enabled - computed: true, optional: false, required: false
get remoteDebuggingEnabled() {
return this.getBooleanAttribute('remote_debugging_enabled');
}
// remote_debugging_version - computed: true, optional: false, required: false
get remoteDebuggingVersion() {
return this.getStringAttribute('remote_debugging_version');
}
get scmIpRestriction() {
return this._scmIpRestriction;
}
// scm_type - computed: true, optional: false, required: false
get scmType() {
return this.getStringAttribute('scm_type');
}
// scm_use_main_ip_restriction - computed: true, optional: false, required: false
get scmUseMainIpRestriction() {
return this.getBooleanAttribute('scm_use_main_ip_restriction');
}
// use_32_bit_worker_process - computed: true, optional: false, required: false
get use32BitWorkerProcess() {
return this.getBooleanAttribute('use_32_bit_worker_process');
}
// vnet_route_all_enabled - computed: true, optional: false, required: false
get vnetRouteAllEnabled() {
return this.getBooleanAttribute('vnet_route_all_enabled');
}
// websockets_enabled - computed: true, optional: false, required: false
get websocketsEnabled() {
return this.getBooleanAttribute('websockets_enabled');
}
// windows_fx_version - computed: true, optional: false, required: false
get windowsFxVersion() {
return this.getStringAttribute('windows_fx_version');
}
}
exports.DataAzurermAppServiceSiteConfigOutputReference = DataAzurermAppServiceSiteConfigOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigOutputReference[_o] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteConfigList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteConfigList = DataAzurermAppServiceSiteConfigList;
_p = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteConfigList[_p] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteConfigList", version: "12.27.0" };
function dataAzurermAppServiceSiteCredentialToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSiteCredentialToTerraform = dataAzurermAppServiceSiteCredentialToTerraform;
function dataAzurermAppServiceSiteCredentialToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSiteCredentialToHclTerraform = dataAzurermAppServiceSiteCredentialToHclTerraform;
class DataAzurermAppServiceSiteCredentialOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// password - computed: true, optional: false, required: false
get password() {
return this.getStringAttribute('password');
}
// username - computed: true, optional: false, required: false
get username() {
return this.getStringAttribute('username');
}
}
exports.DataAzurermAppServiceSiteCredentialOutputReference = DataAzurermAppServiceSiteCredentialOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteCredentialOutputReference[_q] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteCredentialOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSiteCredentialList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSiteCredentialOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSiteCredentialList = DataAzurermAppServiceSiteCredentialList;
_r = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSiteCredentialList[_r] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSiteCredentialList", version: "12.27.0" };
function dataAzurermAppServiceSourceControlToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataAzurermAppServiceSourceControlToTerraform = dataAzurermAppServiceSourceControlToTerraform;
function dataAzurermAppServiceSourceControlToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataAzurermAppServiceSourceControlToHclTerraform = dataAzurermAppServiceSourceControlToHclTerraform;
class DataAzurermAppServiceSourceControlOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// branch - computed: true, optional: false, required: false
get branch() {
return this.getStringAttribute('branch');
}
// manual_integration - computed: true, optional: false, required: false
get manualIntegration() {
return this.getBooleanAttribute('manual_integration');
}
// repo_url - computed: true, optional: false, required: false
get repoUrl() {
return this.getStringAttribute('repo_url');
}
// rollback_enabled - computed: true, optional: false, required: false
get rollbackEnabled() {
return this.getBooleanAttribute('rollback_enabled');
}
// use_mercurial - computed: true, optional: false, required: false
get useMercurial() {
return this.getBooleanAttribute('use_mercurial');
}
}
exports.DataAzurermAppServiceSourceControlOutputReference = DataAzurermAppServiceSourceControlOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSourceControlOutputReference[_s] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSourceControlOutputReference", version: "12.27.0" };
class DataAzurermAppServiceSourceControlList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAzurermAppServiceSourceControlOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermAppServiceSourceControlList = DataAzurermAppServiceSourceControlList;
_t = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceSourceControlList[_t] = { fqn: "@cdktf/provider-azurerm.dataAzurermAppService.DataAzurermAppServiceSourceControlList", version: "12.27.0" };
function dataAzurermAppServiceTimeoutsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
read: cdktf.stringToTerraform(struct.read),
};
}
exports.dataAzurermAppServiceTimeoutsToTerraform = dataAzurermAppServiceTimeoutsToTerraform;
function dataAzurermAppServiceTimeoutsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
read: {
value: cdktf.stringToHclTerraform(struct.read),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.dataAzurermAppServiceTimeoutsToHclTerraform = dataAzurermAppServiceTimeoutsToHclTerraform;
class DataAzurermAppServiceTimeoutsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._read !== undefined) {
hasAnyValues = true;
internalValueResult.read = this._read;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._read = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._read = value.read;
}
}
get read() {
return this.getStringAttribute('read');
}
set read(value) {
this._read = value;
}
resetRead() {
this._read = undefined;
}
// Temporarily expose input value. Use with caution.
get readInput() {
return this._read;
}
}
exports.DataAzurermAppServiceTimeoutsOutputReference = DataAzurermAppServiceTimeoutsOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataAzurermAppServiceTimeoutsOutputReference[_u] = { fqn: "@cdktf/provider-azurerm.dataAzurer