Microsoft.Web sites/slots/config 'authsettingsV2' 2020-10-01

Bicep-resourcedefinitie

Het resourcetype sites/sites/config kan worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie wijzigingenlogboek voor een lijst met gewijzigde eigenschappen in elke API-versie.

Opties voor naameigenschap

De site/sleuven/config-resource accepteert verschillende eigenschappen op basis van de waarde van de naameigenschap . In dit artikel worden de eigenschappen beschreven die beschikbaar zijn wanneer u instelt name: 'authsettingsV2'.

Zie voor andere opties:

Resource-indeling

Als u een Microsoft.Web/sites/slots/config-resource wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.

resource symbolicname 'Microsoft.Web/sites/slots/config@2020-10-01' = {
  name: 'authsettingsV2'
  kind: 'string'
  parent: resourceSymbolicName
  properties: {
    globalValidation: {
      kind: 'string'
      properties: {
        excludedPaths: [
          'string'
        ]
        redirectToProvider: 'string'
        requireAuthentication: bool
        unauthenticatedClientAction: 'string'
      }
    }
    httpSettings: {
      kind: 'string'
      properties: {
        forwardProxy: {
          kind: 'string'
          properties: {
            convention: 'string'
            customHostHeaderName: 'string'
            customProtoHeaderName: 'string'
          }
        }
        requireHttps: bool
        routes: {
          kind: 'string'
          properties: {
            apiPrefix: 'string'
          }
        }
      }
    }
    identityProviders: {
      kind: 'string'
      properties: {
        azureActiveDirectory: {
          kind: 'string'
          properties: {
            enabled: bool
            isAutoProvisioned: bool
            login: {
              kind: 'string'
              properties: {
                disableWWWAuthenticate: bool
                loginParameters: [
                  'string'
                ]
              }
            }
            registration: {
              kind: 'string'
              properties: {
                clientId: 'string'
                clientSecretCertificateThumbprint: 'string'
                clientSecretSettingName: 'string'
                openIdIssuer: 'string'
              }
            }
            validation: {
              kind: 'string'
              properties: {
                allowedAudiences: [
                  'string'
                ]
                jwtClaimChecks: {
                  kind: 'string'
                  properties: {
                    allowedClientApplications: [
                      'string'
                    ]
                    allowedGroups: [
                      'string'
                    ]
                  }
                }
              }
            }
          }
        }
        customOpenIdConnectProviders: {}
        facebook: {
          kind: 'string'
          properties: {
            enabled: bool
            graphApiVersion: 'string'
            login: {
              kind: 'string'
              properties: {
                scopes: [
                  'string'
                ]
              }
            }
            registration: {
              kind: 'string'
              properties: {
                appId: 'string'
                appSecretSettingName: 'string'
              }
            }
          }
        }
        gitHub: {
          kind: 'string'
          properties: {
            enabled: bool
            login: {
              kind: 'string'
              properties: {
                scopes: [
                  'string'
                ]
              }
            }
            registration: {
              kind: 'string'
              properties: {
                clientId: 'string'
                clientSecretSettingName: 'string'
              }
            }
          }
        }
        google: {
          kind: 'string'
          properties: {
            enabled: bool
            login: {
              kind: 'string'
              properties: {
                scopes: [
                  'string'
                ]
              }
            }
            registration: {
              kind: 'string'
              properties: {
                clientId: 'string'
                clientSecretSettingName: 'string'
              }
            }
            validation: {
              kind: 'string'
              properties: {
                allowedAudiences: [
                  'string'
                ]
              }
            }
          }
        }
        twitter: {
          kind: 'string'
          properties: {
            enabled: bool
            registration: {
              kind: 'string'
              properties: {
                consumerKey: 'string'
                consumerSecretSettingName: 'string'
              }
            }
          }
        }
      }
    }
    login: {
      kind: 'string'
      properties: {
        allowedExternalRedirectUrls: [
          'string'
        ]
        cookieExpiration: {
          kind: 'string'
          properties: {
            convention: 'string'
            timeToExpiration: 'string'
          }
        }
        nonce: {
          kind: 'string'
          properties: {
            nonceExpirationInterval: 'string'
            validateNonce: bool
          }
        }
        preserveUrlFragmentsForLogins: bool
        routes: {
          kind: 'string'
          properties: {
            logoutEndpoint: 'string'
          }
        }
        tokenStore: {
          kind: 'string'
          properties: {
            azureBlobStorage: {
              kind: 'string'
              properties: {
                sasUrlSettingName: 'string'
              }
            }
            enabled: bool
            fileSystem: {
              kind: 'string'
              properties: {
                directory: 'string'
              }
            }
            tokenRefreshExtensionHours: int
          }
        }
      }
    }
    platform: {
      kind: 'string'
      properties: {
        configFilePath: 'string'
        enabled: bool
        runtimeVersion: 'string'
      }
    }
  }
}

Eigenschapswaarden

sites/sleuven/config-authsettingsV2

Naam Description Waarde
naam De resourcenaam

Meer informatie over het instellen van namen en typen voor onderliggende resources in Bicep.
'authsettingsV2'
Soort Soort resource. tekenreeks
Bovenliggende In Bicep kunt u de bovenliggende resource voor een onderliggende resource opgeven. U hoeft deze eigenschap alleen toe te voegen wanneer de onderliggende resource buiten de bovenliggende resource wordt gedeclareerd.

Zie Onderliggende resource buiten bovenliggende resource voor meer informatie.
Symbolische naam voor resource van het type: sleuven
properties SiteAuthSettingsV2 resourcespecifieke eigenschappen SiteAuthSettingsV2Properties

SiteAuthSettingsV2Properties

Naam Description Waarde
globalValidation GlobalValidation
httpSettings HttpSettings
identityProviders IdentityProviders
aanmelding Aanmelding
platform AuthPlatform

GlobalValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van GlobalValidation GlobalValidationProperties

GlobalValidationProperties

Naam Description Waarde
excludedPaths tekenreeks[]
redirectToProvider tekenreeks
requireAuthentication booleaans
unauthenticatedClientAction 'AllowAnonymous'
'RedirectToLoginPage'
'Return401'
'Return403'

HttpSettings

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettings HttpSettingsProperties

HttpSettingsProperties

Naam Description Waarde
forwardProxy ForwardProxy
requireHttps booleaans
Routes HttpSettingsRoutes

ForwardProxy

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van forwardProxy-resources ForwardProxyProperties

ForwardProxyProperties

Naam Description Waarde
Verdrag 'Aangepast'
'NoProxy'
'Standaard'
customHostHeaderName tekenreeks
customProtoHeaderName tekenreeks

HttpSettingsRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettingsRoutes HttpSettingsRoutesProperties

HttpSettingsRoutesProperties

Naam Description Waarde
apiPrefix tekenreeks

IdentityProviders

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van IdentityProviders IdentityProvidersProperties

IdentityProvidersProperties

Naam Description Waarde
azureActiveDirectory AzureActiveDirectory
customOpenIdConnectProviders Woordenlijst van {CustomOpenIdConnectProvider} object
Facebook Facebook
gitHub GitHub
Google Google
Twitter Twitter

AzureActiveDirectory

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectory AzureActiveDirectoryProperties

AzureActiveDirectoryProperties

Naam Description Waarde
enabled booleaans
isAutoProvisioned booleaans
aanmelding AzureActiveDirectoryLogin
Registratie AzureActiveDirectoryRegistration
validatie AzureActiveDirectoryValidation

AzureActiveDirectoryLogin

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryLogin AzureActiveDirectoryLoginProperties

AzureActiveDirectoryLoginProperties

Naam Description Waarde
disableWWWAuthenticate booleaans
loginParameters tekenreeks[]

AzureActiveDirectoryRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryRegistration AzureActiveDirectoryRegistrationProperties

AzureActiveDirectoryRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretCertificateThumbprint tekenreeks
clientSecretSettingName tekenreeks
openIdIssuer tekenreeks

AzureActiveDirectoryValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryValidation AzureActiveDirectoryValidationProperties

AzureActiveDirectoryValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]
jwtClaimChecks JwtClaimChecks

JwtClaimChecks

Naam Description Waarde
Soort Soort resource. tekenreeks
properties JwtClaimChecks resourcespecifieke eigenschappen JwtClaimChecksEigenschappen

JwtClaimChecksEigenschappen

Naam Description Waarde
allowedClientApplications tekenreeks[]
allowedGroups tekenreeks[]

Facebook

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Specifieke eigenschappen van Facebook-resources FacebookEigenschappen

FacebookEigenschappen

Naam Description Waarde
enabled booleaans
graphApiVersion tekenreeks
aanmelding LoginScopes
Registratie AppRegistration

LoginScopes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginScopes LoginScopesProperties

LoginScopesProperties

Naam Description Waarde
bereiken tekenreeks[]

AppRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties AppRegistration-resourcespecifieke eigenschappen AppRegistrationProperties

AppRegistrationProperties

Naam Description Waarde
appId tekenreeks
appSecretSettingName tekenreeks

GitHub

Naam Description Waarde
Soort Soort resource. tekenreeks
properties GitHub-resourcespecifieke eigenschappen GitHubProperties

GitHubProperties

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie

Clientregistratie

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van ClientRegistration ClientRegistrationProperties

ClientRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretSettingName tekenreeks

Google

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Google-resourcespecifieke eigenschappen GoogleProperties

GoogleProperties

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie
validatie AllowedAudiencesValidation

AllowedAudiencesValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AllowedAudiencesValidation AllowedAudiencesValidationProperties

AllowedAudiencesValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]

Twitter

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Twitter-resourcespecifieke eigenschappen TwitterEigenschappen

TwitterEigenschappen

Naam Description Waarde
enabled booleaans
Registratie TwitterRegistration

TwitterRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van twitterregisterresources TwitterRegistrationProperties

TwitterRegistrationProperties

Naam Description Waarde
consumerKey tekenreeks
consumerSecretSettingName tekenreeks

Aanmelden

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Specifieke eigenschappen van aanmeldingsresources LoginProperties

LoginProperties

Naam Description Waarde
allowedExternalRedirectUrls tekenreeks[]
cookieExpiration CookieExpiration
nonce Nonce
preserveUrlFragmentsForLogins booleaans
Routes LoginRoutes
tokenStore TokenStore

CookieExpiration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties CookieExpiration resourcespecifieke eigenschappen CookieExpirationProperties

CookieExpirationProperties

Naam Description Waarde
Verdrag 'FixedTime'
'IdentityProviderDerived'
timeToExpiration tekenreeks

Nonce

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Niet-resourcespecifieke eigenschappen NonceProperties

NonceProperties

Naam Description Waarde
nonceExpirationInterval tekenreeks
validateNonce booleaans

LoginRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginRoutes LoginRoutesProperties

LoginRoutesProperties

Naam Description Waarde
logoutEndpoint tekenreeks

TokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van TokenStore TokenStoreProperties

TokenStoreProperties

Naam Description Waarde
azureBlobStorage BlobStorageTokenStore
enabled booleaans
Bestandssysteem FileSystemTokenStore
tokenRefreshExtensionHours int

BlobStorageTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties BlobStorageTokenStore resourcespecifieke eigenschappen BlobStorageTokenStoreProperties

BlobStorageTokenStoreProperties

Naam Description Waarde
sasUrlSettingName tekenreeks

FileSystemTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van FileSystemTokenStore FileSystemTokenStoreProperties

FileSystemTokenStoreProperties

Naam Description Waarde
map tekenreeks

AuthPlatform

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AuthPlatform AuthPlatformProperties

AuthPlatformProperties

Naam Description Waarde
configFilePath tekenreeks
enabled booleaans
runtimeVersion tekenreeks

Resourcedefinitie van ARM-sjabloon

Het resourcetype sites/sites/config kan worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie wijzigingenlogboek voor een lijst met gewijzigde eigenschappen in elke API-versie.

Opties voor naameigenschap

De resource sites/sleuven/config accepteert verschillende eigenschappen op basis van de waarde van de naameigenschap . In dit artikel worden de eigenschappen beschreven die beschikbaar zijn wanneer u instelt name: 'authsettingsV2'.

Zie voor andere opties:

Resource-indeling

Als u een resource Microsoft.Web/sites/slots/config wilt maken, voegt u de volgende JSON toe aan uw sjabloon.

{
  "type": "Microsoft.Web/sites/slots/config",
  "apiVersion": "2020-10-01",
  "name": "authsettingsV2",
  "kind": "string",
  "properties": {
    "globalValidation": {
      "kind": "string",
      "properties": {
        "excludedPaths": [ "string" ],
        "redirectToProvider": "string",
        "requireAuthentication": "bool",
        "unauthenticatedClientAction": "string"
      }
    },
    "httpSettings": {
      "kind": "string",
      "properties": {
        "forwardProxy": {
          "kind": "string",
          "properties": {
            "convention": "string",
            "customHostHeaderName": "string",
            "customProtoHeaderName": "string"
          }
        },
        "requireHttps": "bool",
        "routes": {
          "kind": "string",
          "properties": {
            "apiPrefix": "string"
          }
        }
      }
    },
    "identityProviders": {
      "kind": "string",
      "properties": {
        "azureActiveDirectory": {
          "kind": "string",
          "properties": {
            "enabled": "bool",
            "isAutoProvisioned": "bool",
            "login": {
              "kind": "string",
              "properties": {
                "disableWWWAuthenticate": "bool",
                "loginParameters": [ "string" ]
              }
            },
            "registration": {
              "kind": "string",
              "properties": {
                "clientId": "string",
                "clientSecretCertificateThumbprint": "string",
                "clientSecretSettingName": "string",
                "openIdIssuer": "string"
              }
            },
            "validation": {
              "kind": "string",
              "properties": {
                "allowedAudiences": [ "string" ],
                "jwtClaimChecks": {
                  "kind": "string",
                  "properties": {
                    "allowedClientApplications": [ "string" ],
                    "allowedGroups": [ "string" ]
                  }
                }
              }
            }
          }
        },
        "customOpenIdConnectProviders": {},
        "facebook": {
          "kind": "string",
          "properties": {
            "enabled": "bool",
            "graphApiVersion": "string",
            "login": {
              "kind": "string",
              "properties": {
                "scopes": [ "string" ]
              }
            },
            "registration": {
              "kind": "string",
              "properties": {
                "appId": "string",
                "appSecretSettingName": "string"
              }
            }
          }
        },
        "gitHub": {
          "kind": "string",
          "properties": {
            "enabled": "bool",
            "login": {
              "kind": "string",
              "properties": {
                "scopes": [ "string" ]
              }
            },
            "registration": {
              "kind": "string",
              "properties": {
                "clientId": "string",
                "clientSecretSettingName": "string"
              }
            }
          }
        },
        "google": {
          "kind": "string",
          "properties": {
            "enabled": "bool",
            "login": {
              "kind": "string",
              "properties": {
                "scopes": [ "string" ]
              }
            },
            "registration": {
              "kind": "string",
              "properties": {
                "clientId": "string",
                "clientSecretSettingName": "string"
              }
            },
            "validation": {
              "kind": "string",
              "properties": {
                "allowedAudiences": [ "string" ]
              }
            }
          }
        },
        "twitter": {
          "kind": "string",
          "properties": {
            "enabled": "bool",
            "registration": {
              "kind": "string",
              "properties": {
                "consumerKey": "string",
                "consumerSecretSettingName": "string"
              }
            }
          }
        }
      }
    },
    "login": {
      "kind": "string",
      "properties": {
        "allowedExternalRedirectUrls": [ "string" ],
        "cookieExpiration": {
          "kind": "string",
          "properties": {
            "convention": "string",
            "timeToExpiration": "string"
          }
        },
        "nonce": {
          "kind": "string",
          "properties": {
            "nonceExpirationInterval": "string",
            "validateNonce": "bool"
          }
        },
        "preserveUrlFragmentsForLogins": "bool",
        "routes": {
          "kind": "string",
          "properties": {
            "logoutEndpoint": "string"
          }
        },
        "tokenStore": {
          "kind": "string",
          "properties": {
            "azureBlobStorage": {
              "kind": "string",
              "properties": {
                "sasUrlSettingName": "string"
              }
            },
            "enabled": "bool",
            "fileSystem": {
              "kind": "string",
              "properties": {
                "directory": "string"
              }
            },
            "tokenRefreshExtensionHours": "int"
          }
        }
      }
    },
    "platform": {
      "kind": "string",
      "properties": {
        "configFilePath": "string",
        "enabled": "bool",
        "runtimeVersion": "string"
      }
    }
  }
}

Eigenschapswaarden

sites/sleuven/config-authsettingsV2

Naam Description Waarde
type Het resourcetype 'Microsoft.Web/sites/slots/config'
apiVersion De resource-API-versie '2020-10-01'
naam De resourcenaam

Meer informatie over het instellen van namen en typen voor onderliggende resources in JSON ARM-sjablonen.
'authsettingsV2'
Soort Soort resource. tekenreeks
properties SiteAuthSettingsV2 resourcespecifieke eigenschappen SiteAuthSettingsV2Properties

SiteAuthSettingsV2Properties

Naam Description Waarde
globalValidation GlobalValidation
httpSettings HttpSettings
identityProviders IdentityProviders
aanmelding Aanmelding
platform AuthPlatform

GlobalValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van GlobalValidation GlobalValidationProperties

GlobalValidationProperties

Naam Description Waarde
excludedPaths tekenreeks[]
redirectToProvider tekenreeks
requireAuthentication booleaans
unauthenticatedClientAction 'AllowAnonymous'
'RedirectToLoginPage'
'Return401'
'Return403'

HttpSettings

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettings HttpSettingsProperties

HttpSettingsProperties

Naam Description Waarde
forwardProxy ForwardProxy
requireHttps booleaans
Routes HttpSettingsRoutes

ForwardProxy

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van forwardProxy-resources ForwardProxyProperties

ForwardProxyProperties

Naam Description Waarde
Verdrag 'Aangepast'
'NoProxy'
'Standaard'
customHostHeaderName tekenreeks
customProtoHeaderName tekenreeks

HttpSettingsRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettingsRoutes HttpSettingsRoutesProperties

HttpSettingsRoutesProperties

Naam Description Waarde
apiPrefix tekenreeks

IdentityProviders

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van IdentityProviders IdentityProvidersProperties

IdentityProvidersProperties

Naam Description Waarde
azureActiveDirectory AzureActiveDirectory
customOpenIdConnectProviders Woordenlijst van {CustomOpenIdConnectProvider} object
Facebook Facebook
gitHub GitHub
Google Google
Twitter Twitter

AzureActiveDirectory

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectory AzureActiveDirectoryProperties

AzureActiveDirectoryProperties

Naam Description Waarde
enabled booleaans
isAutoProvisioned booleaans
aanmelding AzureActiveDirectoryLogin
Registratie AzureActiveDirectoryRegistration
validatie AzureActiveDirectoryValidation

AzureActiveDirectoryLogin

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryLogin AzureActiveDirectoryLoginProperties

AzureActiveDirectoryLoginProperties

Naam Description Waarde
disableWWWAuthenticate booleaans
loginParameters tekenreeks[]

AzureActiveDirectoryRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryRegistration AzureActiveDirectoryRegistrationProperties

AzureActiveDirectoryRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretCertificateThumbprint tekenreeks
clientSecretSettingName tekenreeks
openIdIssuer tekenreeks

AzureActiveDirectoryValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryValidation AzureActiveDirectoryValidationProperties

AzureActiveDirectoryValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]
jwtClaimChecks JwtClaimChecks

JwtClaimChecks

Naam Description Waarde
Soort Soort resource. tekenreeks
properties JwtClaimChecks resourcespecifieke eigenschappen JwtClaimChecksProperties

JwtClaimChecksProperties

Naam Description Waarde
allowedClientApplications tekenreeks[]
allowedGroups tekenreeks[]

Facebook

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Facebook-resourcespecifieke eigenschappen FacebookEigenschappen

FacebookEigenschappen

Naam Description Waarde
enabled booleaans
graphApiVersion tekenreeks
aanmelding LoginScopes
Registratie AppRegistration

LoginScopes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginScopes LoginScopesProperties

LoginScopesProperties

Naam Description Waarde
bereiken tekenreeks[]

AppRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties AppRegistration-resourcespecifieke eigenschappen AppRegistrationProperties

AppRegistrationProperties

Naam Description Waarde
appId tekenreeks
appSecretSettingName tekenreeks

GitHub

Naam Description Waarde
Soort Soort resource. tekenreeks
properties GitHub-resourcespecifieke eigenschappen GitHubProperties

GitHubProperties

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie

Clientregistratie

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van ClientRegistration ClientRegistrationProperties

ClientRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretSettingName tekenreeks

Google

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van Google GoogleEigenschappen

GoogleEigenschappen

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie
validatie AllowedAudiencesValidation

AllowedAudiencesValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AllowedAudiencesValidation AllowedAudiencesValidationProperties

AllowedAudiencesValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]

Twitter

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Twitter-resourcespecifieke eigenschappen TwitterEigenschappen

TwitterEigenschappen

Naam Description Waarde
enabled booleaans
Registratie TwitterRegistration

TwitterRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van twitterregisterresources TwitterRegistrationProperties

TwitterRegistrationProperties

Naam Description Waarde
consumerKey tekenreeks
consumerSecretSettingName tekenreeks

Aanmelden

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Specifieke eigenschappen van aanmeldingsresources LoginProperties

LoginProperties

Naam Description Waarde
allowedExternalRedirectUrls tekenreeks[]
cookieExpiration CookieExpiration
nonce Nonce
preserveUrlFragmentsForLogins booleaans
Routes LoginRoutes
tokenStore TokenStore

CookieExpiration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties CookieExpiration resourcespecifieke eigenschappen CookieExpirationProperties

CookieExpirationProperties

Naam Description Waarde
Verdrag 'FixedTime'
'IdentityProviderDerived'
timeToExpiration tekenreeks

Nonce

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Niet-resourcespecifieke eigenschappen NonceProperties

NonceProperties

Naam Description Waarde
nonceExpirationInterval tekenreeks
validateNonce booleaans

LoginRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginRoutes LoginRoutesProperties

LoginRoutesProperties

Naam Description Waarde
logoutEndpoint tekenreeks

TokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van TokenStore TokenStoreProperties

TokenStoreProperties

Naam Description Waarde
azureBlobStorage BlobStorageTokenStore
enabled booleaans
Bestandssysteem FileSystemTokenStore
tokenRefreshExtensionHours int

BlobStorageTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties BlobStorageTokenStore resourcespecifieke eigenschappen BlobStorageTokenStoreProperties

BlobStorageTokenStoreProperties

Naam Description Waarde
sasUrlSettingName tekenreeks

FileSystemTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties FileSystemTokenStore resourcespecifieke eigenschappen FileSystemTokenStoreProperties

FileSystemTokenStoreProperties

Naam Description Waarde
map tekenreeks

AuthPlatform

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AuthPlatform AuthPlatformProperties

AuthPlatformProperties

Naam Description Waarde
configFilePath tekenreeks
enabled booleaans
runtimeVersion tekenreeks

Resourcedefinitie van Terraform (AzAPI-provider)

Het resourcetype sites/sleuven/config kan worden geïmplementeerd met bewerkingen die zijn gericht op:

  • Resourcegroepen

Zie wijzigingenlogboek voor een lijst met gewijzigde eigenschappen in elke API-versie.

Opties voor naameigenschap

De resource sites/sleuven/config accepteert verschillende eigenschappen op basis van de waarde van de naameigenschap . In dit artikel worden de eigenschappen beschreven die beschikbaar zijn wanneer u instelt name: 'authsettingsV2'.

Zie voor andere opties:

Resource-indeling

Als u een Resource Microsoft.Web/sites/slots/config wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/sites/slots/config@2020-10-01"
  name = "authsettingsV2"
  parent_id = "string"
  body = jsonencode({
    properties = {
      globalValidation = {
        kind = "string"
        properties = {
          excludedPaths = [
            "string"
          ]
          redirectToProvider = "string"
          requireAuthentication = bool
          unauthenticatedClientAction = "string"
        }
      }
      httpSettings = {
        kind = "string"
        properties = {
          forwardProxy = {
            kind = "string"
            properties = {
              convention = "string"
              customHostHeaderName = "string"
              customProtoHeaderName = "string"
            }
          }
          requireHttps = bool
          routes = {
            kind = "string"
            properties = {
              apiPrefix = "string"
            }
          }
        }
      }
      identityProviders = {
        kind = "string"
        properties = {
          azureActiveDirectory = {
            kind = "string"
            properties = {
              enabled = bool
              isAutoProvisioned = bool
              login = {
                kind = "string"
                properties = {
                  disableWWWAuthenticate = bool
                  loginParameters = [
                    "string"
                  ]
                }
              }
              registration = {
                kind = "string"
                properties = {
                  clientId = "string"
                  clientSecretCertificateThumbprint = "string"
                  clientSecretSettingName = "string"
                  openIdIssuer = "string"
                }
              }
              validation = {
                kind = "string"
                properties = {
                  allowedAudiences = [
                    "string"
                  ]
                  jwtClaimChecks = {
                    kind = "string"
                    properties = {
                      allowedClientApplications = [
                        "string"
                      ]
                      allowedGroups = [
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
          customOpenIdConnectProviders = {}
          facebook = {
            kind = "string"
            properties = {
              enabled = bool
              graphApiVersion = "string"
              login = {
                kind = "string"
                properties = {
                  scopes = [
                    "string"
                  ]
                }
              }
              registration = {
                kind = "string"
                properties = {
                  appId = "string"
                  appSecretSettingName = "string"
                }
              }
            }
          }
          gitHub = {
            kind = "string"
            properties = {
              enabled = bool
              login = {
                kind = "string"
                properties = {
                  scopes = [
                    "string"
                  ]
                }
              }
              registration = {
                kind = "string"
                properties = {
                  clientId = "string"
                  clientSecretSettingName = "string"
                }
              }
            }
          }
          google = {
            kind = "string"
            properties = {
              enabled = bool
              login = {
                kind = "string"
                properties = {
                  scopes = [
                    "string"
                  ]
                }
              }
              registration = {
                kind = "string"
                properties = {
                  clientId = "string"
                  clientSecretSettingName = "string"
                }
              }
              validation = {
                kind = "string"
                properties = {
                  allowedAudiences = [
                    "string"
                  ]
                }
              }
            }
          }
          twitter = {
            kind = "string"
            properties = {
              enabled = bool
              registration = {
                kind = "string"
                properties = {
                  consumerKey = "string"
                  consumerSecretSettingName = "string"
                }
              }
            }
          }
        }
      }
      login = {
        kind = "string"
        properties = {
          allowedExternalRedirectUrls = [
            "string"
          ]
          cookieExpiration = {
            kind = "string"
            properties = {
              convention = "string"
              timeToExpiration = "string"
            }
          }
          nonce = {
            kind = "string"
            properties = {
              nonceExpirationInterval = "string"
              validateNonce = bool
            }
          }
          preserveUrlFragmentsForLogins = bool
          routes = {
            kind = "string"
            properties = {
              logoutEndpoint = "string"
            }
          }
          tokenStore = {
            kind = "string"
            properties = {
              azureBlobStorage = {
                kind = "string"
                properties = {
                  sasUrlSettingName = "string"
                }
              }
              enabled = bool
              fileSystem = {
                kind = "string"
                properties = {
                  directory = "string"
                }
              }
              tokenRefreshExtensionHours = int
            }
          }
        }
      }
      platform = {
        kind = "string"
        properties = {
          configFilePath = "string"
          enabled = bool
          runtimeVersion = "string"
        }
      }
    }
    kind = "string"
  })
}

Eigenschapswaarden

sites/sleuven/config-authsettingsV2

Naam Description Waarde
type Het resourcetype "Microsoft.Web/sites/slots/config@2020-10-01"
naam De resourcenaam "authsettingsV2"
parent_id De id van de resource die het bovenliggende item voor deze resource is. Id voor resource van het type: sleuven
Soort Soort resource. tekenreeks
properties SiteAuthSettingsV2 resourcespecifieke eigenschappen SiteAuthSettingsV2Properties

SiteAuthSettingsV2Properties

Naam Description Waarde
globalValidation GlobalValidation
httpSettings HttpSettings
identityProviders IdentityProviders
aanmelding Aanmelding
platform AuthPlatform

GlobalValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van GlobalValidation GlobalValidationProperties

GlobalValidationProperties

Naam Description Waarde
excludedPaths tekenreeks[]
redirectToProvider tekenreeks
requireAuthentication booleaans
unauthenticatedClientAction "AllowAnonymous"
"RedirectToLoginPage"
"Return401"
"Return403"

HttpSettings

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettings HttpSettingsProperties

HttpSettingsProperties

Naam Description Waarde
forwardProxy ForwardProxy
requireHttps booleaans
Routes HttpSettingsRoutes

ForwardProxy

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van forwardProxy-resources ForwardProxyProperties

ForwardProxyProperties

Naam Description Waarde
Verdrag "Aangepast"
"NoProxy"
"Standaard"
customHostHeaderName tekenreeks
customProtoHeaderName tekenreeks

HttpSettingsRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van HttpSettingsRoutes HttpSettingsRoutesProperties

HttpSettingsRoutesProperties

Naam Description Waarde
apiPrefix tekenreeks

IdentityProviders

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van IdentityProviders IdentityProvidersProperties

IdentityProvidersProperties

Naam Description Waarde
azureActiveDirectory AzureActiveDirectory
customOpenIdConnectProviders Woordenlijst van {CustomOpenIdConnectProvider} object
Facebook Facebook
gitHub GitHub
Google Google
Twitter Twitter

AzureActiveDirectory

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectory AzureActiveDirectoryProperties

AzureActiveDirectoryProperties

Naam Description Waarde
enabled booleaans
isAutoProvisioned booleaans
aanmelding AzureActiveDirectoryLogin
Registratie AzureActiveDirectoryRegistration
validatie AzureActiveDirectoryValidation

AzureActiveDirectoryLogin

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryLogin AzureActiveDirectoryLoginProperties

AzureActiveDirectoryLoginProperties

Naam Description Waarde
disableWWWAuthenticate booleaans
loginParameters tekenreeks[]

AzureActiveDirectoryRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryRegistration AzureActiveDirectoryRegistrationProperties

AzureActiveDirectoryRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretCertificateThumbprint tekenreeks
clientSecretSettingName tekenreeks
openIdIssuer tekenreeks

AzureActiveDirectoryValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AzureActiveDirectoryValidation AzureActiveDirectoryValidationProperties

AzureActiveDirectoryValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]
jwtClaimChecks JwtClaimChecks

JwtClaimChecks

Naam Description Waarde
Soort Soort resource. tekenreeks
properties JwtClaimChecks resourcespecifieke eigenschappen JwtClaimChecksEigenschappen

JwtClaimChecksEigenschappen

Naam Description Waarde
allowedClientApplications tekenreeks[]
allowedGroups tekenreeks[]

Facebook

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Specifieke eigenschappen van Facebook-resources FacebookEigenschappen

FacebookEigenschappen

Naam Description Waarde
enabled booleaans
graphApiVersion tekenreeks
aanmelding LoginScopes
Registratie AppRegistration

LoginScopes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginScopes LoginScopesProperties

LoginScopesProperties

Naam Description Waarde
bereiken tekenreeks[]

AppRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties AppRegistration-resourcespecifieke eigenschappen AppRegistrationProperties

AppRegistrationProperties

Naam Description Waarde
appId tekenreeks
appSecretSettingName tekenreeks

GitHub

Naam Description Waarde
Soort Soort resource. tekenreeks
properties GitHub-resourcespecifieke eigenschappen GitHubProperties

GitHubProperties

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie

Clientregistratie

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van ClientRegistration ClientRegistrationProperties

ClientRegistrationProperties

Naam Description Waarde
clientId tekenreeks
clientSecretSettingName tekenreeks

Google

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Google-resourcespecifieke eigenschappen GoogleProperties

GoogleProperties

Naam Description Waarde
enabled booleaans
aanmelding LoginScopes
Registratie Clientregistratie
validatie AllowedAudiencesValidation

AllowedAudiencesValidation

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen allowedAudiencesValidation AllowedAudiencesValidationProperties

AllowedAudiencesValidationProperties

Naam Description Waarde
allowedAudiences tekenreeks[]

Twitter

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van Twitter-resources TwitterEigenschappen

TwitterEigenschappen

Naam Description Waarde
enabled booleaans
Registratie TwitterRegistration

TwitterRegistration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Eigenschappen van twitterregisterresources TwitterRegistrationProperties

TwitterRegistrationProperties

Naam Description Waarde
consumerKey tekenreeks
consumerSecretSettingName tekenreeks

Aanmelden

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Specifieke eigenschappen van aanmeldingsresources LoginProperties

LoginProperties

Naam Description Waarde
allowedExternalRedirectUrls tekenreeks[]
cookieExpiration CookieExpiration
nonce Nonce
preserveUrlFragmentsForLogins booleaans
Routes LoginRoutes
tokenStore TokenStore

CookieExpiration

Naam Description Waarde
Soort Soort resource. tekenreeks
properties CookieExpiration resourcespecifieke eigenschappen CookieExpirationProperties

CookieExpirationProperties

Naam Description Waarde
Verdrag "FixedTime"
"IdentityProviderDerived"
timeToExpiration tekenreeks

Nonce

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Niet-resourcespecifieke eigenschappen NonceProperties

NonceProperties

Naam Description Waarde
nonceExpirationInterval tekenreeks
validateNonce booleaans

LoginRoutes

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van LoginRoutes LoginRoutesProperties

LoginRoutesProperties

Naam Description Waarde
logoutEndpoint tekenreeks

TokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van TokenStore TokenStoreProperties

TokenStoreProperties

Naam Description Waarde
azureBlobStorage BlobStorageTokenStore
enabled booleaans
Bestandssysteem FileSystemTokenStore
tokenRefreshExtensionHours int

BlobStorageTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties BlobStorageTokenStore resourcespecifieke eigenschappen BlobStorageTokenStoreProperties

BlobStorageTokenStoreProperties

Naam Description Waarde
sasUrlSettingName tekenreeks

FileSystemTokenStore

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van FileSystemTokenStore FileSystemTokenStoreProperties

FileSystemTokenStoreProperties

Naam Description Waarde
map tekenreeks

AuthPlatform

Naam Description Waarde
Soort Soort resource. tekenreeks
properties Resourcespecifieke eigenschappen van AuthPlatform AuthPlatformProperties

AuthPlatformProperties

Naam Description Waarde
configFilePath tekenreeks
enabled booleaans
runtimeVersion tekenreeks