@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
790 lines • 509 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, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataAzurermWindowsFunctionAppAuthSettingsV2GithubV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2GithubV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2FacebookV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2FacebookV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2FacebookV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2FacebookV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2CustomOidcV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2CustomOidcV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2CustomOidcV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2CustomOidcV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2AzureStaticWebAppV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2AppleV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2AppleV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2AppleV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2AppleV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsList = exports.DataAzurermWindowsFunctionAppAuthSettingsOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsTwitterList = exports.DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsTwitterToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsTwitterToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList = exports.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsGoogleList = exports.DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsGoogleToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsGoogleToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsGithubList = exports.DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsGithubToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsGithubToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsFacebookList = exports.DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsFacebookToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsFacebookToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList = exports.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToTerraform = void 0;
exports.DataAzurermWindowsFunctionAppSiteConfigCorsList = exports.DataAzurermWindowsFunctionAppSiteConfigCorsOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigCorsToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigCorsToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigApplicationStackList = exports.DataAzurermWindowsFunctionAppSiteConfigApplicationStackOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigApplicationStackToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigApplicationStackToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigAppServiceLogsList = exports.DataAzurermWindowsFunctionAppSiteConfigAppServiceLogsOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigAppServiceLogsToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigAppServiceLogsToTerraform = exports.DataAzurermWindowsFunctionAppIdentityList = exports.DataAzurermWindowsFunctionAppIdentityOutputReference = exports.dataAzurermWindowsFunctionAppIdentityToHclTerraform = exports.dataAzurermWindowsFunctionAppIdentityToTerraform = exports.DataAzurermWindowsFunctionAppConnectionStringList = exports.DataAzurermWindowsFunctionAppConnectionStringOutputReference = exports.dataAzurermWindowsFunctionAppConnectionStringToHclTerraform = exports.dataAzurermWindowsFunctionAppConnectionStringToTerraform = exports.DataAzurermWindowsFunctionAppBackupList = exports.DataAzurermWindowsFunctionAppBackupOutputReference = exports.dataAzurermWindowsFunctionAppBackupToHclTerraform = exports.dataAzurermWindowsFunctionAppBackupToTerraform = exports.DataAzurermWindowsFunctionAppBackupScheduleList = exports.DataAzurermWindowsFunctionAppBackupScheduleOutputReference = exports.dataAzurermWindowsFunctionAppBackupScheduleToHclTerraform = exports.dataAzurermWindowsFunctionAppBackupScheduleToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2TwitterV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2TwitterV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2TwitterV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2TwitterV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2MicrosoftV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2MicrosoftV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2MicrosoftV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2MicrosoftV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2LoginList = exports.DataAzurermWindowsFunctionAppAuthSettingsV2LoginOutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2LoginToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2LoginToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2GoogleV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2GoogleV2OutputReference = exports.dataAzurermWindowsFunctionAppAuthSettingsV2GoogleV2ToHclTerraform = exports.dataAzurermWindowsFunctionAppAuthSettingsV2GoogleV2ToTerraform = exports.DataAzurermWindowsFunctionAppAuthSettingsV2GithubV2List = exports.DataAzurermWindowsFunctionAppAuthSettingsV2GithubV2OutputReference = void 0;
exports.DataAzurermWindowsFunctionApp = exports.DataAzurermWindowsFunctionAppTimeoutsOutputReference = exports.dataAzurermWindowsFunctionAppTimeoutsToHclTerraform = exports.dataAzurermWindowsFunctionAppTimeoutsToTerraform = exports.DataAzurermWindowsFunctionAppStickySettingsList = exports.DataAzurermWindowsFunctionAppStickySettingsOutputReference = exports.dataAzurermWindowsFunctionAppStickySettingsToHclTerraform = exports.dataAzurermWindowsFunctionAppStickySettingsToTerraform = exports.DataAzurermWindowsFunctionAppSiteCredentialList = exports.DataAzurermWindowsFunctionAppSiteCredentialOutputReference = exports.dataAzurermWindowsFunctionAppSiteCredentialToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteCredentialToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigList = exports.DataAzurermWindowsFunctionAppSiteConfigOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionList = exports.DataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionHeadersList = exports.DataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionHeadersOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionHeadersToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigScmIpRestrictionHeadersToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigIpRestrictionList = exports.DataAzurermWindowsFunctionAppSiteConfigIpRestrictionOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigIpRestrictionToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigIpRestrictionToTerraform = exports.DataAzurermWindowsFunctionAppSiteConfigIpRestrictionHeadersList = exports.DataAzurermWindowsFunctionAppSiteConfigIpRestrictionHeadersOutputReference = exports.dataAzurermWindowsFunctionAppSiteConfigIpRestrictionHeadersToHclTerraform = exports.dataAzurermWindowsFunctionAppSiteConfigIpRestrictionHeadersToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToTerraform = dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference 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_audiences - computed: true, optional: false, required: false
get allowedAudiences() {
return this.getListAttribute('allowed_audiences');
}
// client_id - computed: true, optional: false, required: false
get clientId() {
return this.getStringAttribute('client_id');
}
// client_secret - computed: true, optional: false, required: false
get clientSecret() {
return this.getStringAttribute('client_secret');
}
// client_secret_setting_name - computed: true, optional: false, required: false
get clientSecretSettingName() {
return this.getStringAttribute('client_secret_setting_name');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference = DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList 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 DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList = DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList;
_b = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsFacebookToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsFacebookToTerraform = dataAzurermWindowsFunctionAppAuthSettingsFacebookToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsFacebookToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsFacebookToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsFacebookToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference 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;
}
}
// app_id - computed: true, optional: false, required: false
get appId() {
return this.getStringAttribute('app_id');
}
// app_secret - computed: true, optional: false, required: false
get appSecret() {
return this.getStringAttribute('app_secret');
}
// app_secret_setting_name - computed: true, optional: false, required: false
get appSecretSettingName() {
return this.getStringAttribute('app_secret_setting_name');
}
// oauth_scopes - computed: true, optional: false, required: false
get oauthScopes() {
return this.getListAttribute('oauth_scopes');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference = DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsFacebookList 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 DataAzurermWindowsFunctionAppAuthSettingsFacebookOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsFacebookList = DataAzurermWindowsFunctionAppAuthSettingsFacebookList;
_d = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsFacebookList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsFacebookList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsGithubToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsGithubToTerraform = dataAzurermWindowsFunctionAppAuthSettingsGithubToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsGithubToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsGithubToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsGithubToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference 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;
}
}
// client_id - computed: true, optional: false, required: false
get clientId() {
return this.getStringAttribute('client_id');
}
// client_secret - computed: true, optional: false, required: false
get clientSecret() {
return this.getStringAttribute('client_secret');
}
// client_secret_setting_name - computed: true, optional: false, required: false
get clientSecretSettingName() {
return this.getStringAttribute('client_secret_setting_name');
}
// oauth_scopes - computed: true, optional: false, required: false
get oauthScopes() {
return this.getListAttribute('oauth_scopes');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference = DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsGithubList 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 DataAzurermWindowsFunctionAppAuthSettingsGithubOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsGithubList = DataAzurermWindowsFunctionAppAuthSettingsGithubList;
_f = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsGithubList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsGithubList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsGoogleToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsGoogleToTerraform = dataAzurermWindowsFunctionAppAuthSettingsGoogleToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsGoogleToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsGoogleToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsGoogleToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference 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;
}
}
// client_id - computed: true, optional: false, required: false
get clientId() {
return this.getStringAttribute('client_id');
}
// client_secret - computed: true, optional: false, required: false
get clientSecret() {
return this.getStringAttribute('client_secret');
}
// client_secret_setting_name - computed: true, optional: false, required: false
get clientSecretSettingName() {
return this.getStringAttribute('client_secret_setting_name');
}
// oauth_scopes - computed: true, optional: false, required: false
get oauthScopes() {
return this.getListAttribute('oauth_scopes');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference = DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsGoogleList 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 DataAzurermWindowsFunctionAppAuthSettingsGoogleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsGoogleList = DataAzurermWindowsFunctionAppAuthSettingsGoogleList;
_h = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsGoogleList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsGoogleList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToTerraform = dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsMicrosoftToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference 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;
}
}
// client_id - computed: true, optional: false, required: false
get clientId() {
return this.getStringAttribute('client_id');
}
// client_secret - computed: true, optional: false, required: false
get clientSecret() {
return this.getStringAttribute('client_secret');
}
// client_secret_setting_name - computed: true, optional: false, required: false
get clientSecretSettingName() {
return this.getStringAttribute('client_secret_setting_name');
}
// oauth_scopes - computed: true, optional: false, required: false
get oauthScopes() {
return this.getListAttribute('oauth_scopes');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference = DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList 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 DataAzurermWindowsFunctionAppAuthSettingsMicrosoftOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList = DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList;
_k = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsTwitterToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsTwitterToTerraform = dataAzurermWindowsFunctionAppAuthSettingsTwitterToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsTwitterToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsTwitterToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsTwitterToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference 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;
}
}
// consumer_key - computed: true, optional: false, required: false
get consumerKey() {
return this.getStringAttribute('consumer_key');
}
// consumer_secret - computed: true, optional: false, required: false
get consumerSecret() {
return this.getStringAttribute('consumer_secret');
}
// consumer_secret_setting_name - computed: true, optional: false, required: false
get consumerSecretSettingName() {
return this.getStringAttribute('consumer_secret_setting_name');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference = DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference[_l] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsTwitterList 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 DataAzurermWindowsFunctionAppAuthSettingsTwitterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsTwitterList = DataAzurermWindowsFunctionAppAuthSettingsTwitterList;
_m = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsTwitterList[_m] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsTwitterList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsToTerraform = dataAzurermWindowsFunctionAppAuthSettingsToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsOutputReference 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;
// active_directory - computed: true, optional: false, required: false
this._activeDirectory = new DataAzurermWindowsFunctionAppAuthSettingsActiveDirectoryList(this, "active_directory", false);
// additional_login_parameters - computed: true, optional: false, required: false
this._additionalLoginParameters = new cdktf.StringMap(this, "additional_login_parameters");
// facebook - computed: true, optional: false, required: false
this._facebook = new DataAzurermWindowsFunctionAppAuthSettingsFacebookList(this, "facebook", false);
// github - computed: true, optional: false, required: false
this._github = new DataAzurermWindowsFunctionAppAuthSettingsGithubList(this, "github", false);
// google - computed: true, optional: false, required: false
this._google = new DataAzurermWindowsFunctionAppAuthSettingsGoogleList(this, "google", false);
// microsoft - computed: true, optional: false, required: false
this._microsoft = new DataAzurermWindowsFunctionAppAuthSettingsMicrosoftList(this, "microsoft", false);
// twitter - computed: true, optional: false, required: false
this._twitter = new DataAzurermWindowsFunctionAppAuthSettingsTwitterList(this, "twitter", 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;
}
}
get activeDirectory() {
return this._activeDirectory;
}
get additionalLoginParameters() {
return this._additionalLoginParameters;
}
// allowed_external_redirect_urls - computed: true, optional: false, required: false
get allowedExternalRedirectUrls() {
return this.getListAttribute('allowed_external_redirect_urls');
}
// default_provider - computed: true, optional: false, required: false
get defaultProvider() {
return this.getStringAttribute('default_provider');
}
// enabled - computed: true, optional: false, required: false
get enabled() {
return this.getBooleanAttribute('enabled');
}
get facebook() {
return this._facebook;
}
get github() {
return this._github;
}
get google() {
return this._google;
}
// issuer - computed: true, optional: false, required: false
get issuer() {
return this.getStringAttribute('issuer');
}
get microsoft() {
return this._microsoft;
}
// runtime_version - computed: true, optional: false, required: false
get runtimeVersion() {
return this.getStringAttribute('runtime_version');
}
// token_refresh_extension_hours - computed: true, optional: false, required: false
get tokenRefreshExtensionHours() {
return this.getNumberAttribute('token_refresh_extension_hours');
}
// token_store_enabled - computed: true, optional: false, required: false
get tokenStoreEnabled() {
return this.getBooleanAttribute('token_store_enabled');
}
get twitter() {
return this._twitter;
}
// unauthenticated_client_action - computed: true, optional: false, required: false
get unauthenticatedClientAction() {
return this.getStringAttribute('unauthenticated_client_action');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsOutputReference = DataAzurermWindowsFunctionAppAuthSettingsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsOutputReference[_o] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsOutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsList 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 DataAzurermWindowsFunctionAppAuthSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsList = DataAzurermWindowsFunctionAppAuthSettingsList;
_p = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsList[_p] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsList", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToTerraform = dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToTerraform;
function dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform(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.dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform = dataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform;
class DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference 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;
// login_parameters - computed: true, optional: false, required: false
this._loginParameters = new cdktf.StringMap(this, "login_parameters");
}
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_applications - computed: true, optional: false, required: false
get allowedApplications() {
return this.getListAttribute('allowed_applications');
}
// allowed_audiences - computed: true, optional: false, required: false
get allowedAudiences() {
return this.getListAttribute('allowed_audiences');
}
// allowed_groups - computed: true, optional: false, required: false
get allowedGroups() {
return this.getListAttribute('allowed_groups');
}
// allowed_identities - computed: true, optional: false, required: false
get allowedIdentities() {
return this.getListAttribute('allowed_identities');
}
// client_id - computed: true, optional: false, required: false
get clientId() {
return this.getStringAttribute('client_id');
}
// client_secret_certificate_thumbprint - computed: true, optional: false, required: false
get clientSecretCertificateThumbprint() {
return this.getStringAttribute('client_secret_certificate_thumbprint');
}
// client_secret_setting_name - computed: true, optional: false, required: false
get clientSecretSettingName() {
return this.getStringAttribute('client_secret_setting_name');
}
// jwt_allowed_client_applications - computed: true, optional: false, required: false
get jwtAllowedClientApplications() {
return this.getListAttribute('jwt_allowed_client_applications');
}
// jwt_allowed_groups - computed: true, optional: false, required: false
get jwtAllowedGroups() {
return this.getListAttribute('jwt_allowed_groups');
}
get loginParameters() {
return this._loginParameters;
}
// tenant_auth_endpoint - computed: true, optional: false, required: false
get tenantAuthEndpoint() {
return this.getStringAttribute('tenant_auth_endpoint');
}
// www_authentication_disabled - computed: true, optional: false, required: false
get wwwAuthenticationDisabled() {
return this.getBooleanAttribute('www_authentication_disabled');
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference = DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference[_q] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference", version: "12.27.0" };
class DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List 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 DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2OutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List = DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List;
_r = JSII_RTTI_SYMBOL_1;
DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List[_r] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsFunctionApp.DataAzurermWindowsFunctionAppAuthSettingsV2ActiveDirectoryV2List", version: "12.27.0" };
function dataAzurermWindowsFunctionAppAuthSettingsV2AppleV2ToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configur