Dela via


Microsoft.ApiManagement service/authorizationProviders/authorizations 2022-09-01-preview

Bicep-resursdefinition

Resurstypen service/authorizationProviders/authorizations kan distribueras med åtgärder som mål:

En lista över ändrade egenskaper i varje API-version finns i ändringsloggen.

Resursformat

Om du vill skapa en resurs för Microsoft.ApiManagement/service/authorizationProviders/authorizations lägger du till följande Bicep i mallen.

resource symbolicname 'Microsoft.ApiManagement/service/authorizationProviders/authorizations@2022-09-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    authorizationType: 'OAuth2'
    error: {
      code: 'string'
      message: 'string'
    }
    oauth2grantType: 'string'
    parameters: {
      {customized property}: 'string'
    }
    status: 'string'
  }
}

Egenskapsvärden

service/authorizationProviders/authorizations

Name Beskrivning Värde
name Resursnamnet

Se hur du anger namn och typer för underordnade resurser i Bicep.
sträng (krävs)
parent I Bicep kan du ange den överordnade resursen för en underordnad resurs. Du behöver bara lägga till den här egenskapen när den underordnade resursen deklareras utanför den överordnade resursen.

Mer information finns i Underordnad resurs utanför överordnad resurs.
Symboliskt namn för resurs av typen: authorizationProviders
properties Egenskaper för auktoriseringskontraktet. AuthorizationContractProperties

AuthorizationContractProperties

Name Beskrivning Värde
authorizationType Alternativ för auktoriseringstyp "OAuth2"
fel Information om auktoriseringsfel. AuthorizationError
oauth2grantType Alternativ för OAuth2-beviljandetyp "AuthorizationCode"
"ClientCredentials"
parametrar Auktoriseringsparametrar AuthorizationContractPropertiesParameters
status Status för auktoriseringen sträng

AuthorizationError

Name Beskrivning Värde
kod Felkod sträng
meddelande Felmeddelande sträng

AuthorizationContractPropertiesParameters

Name Beskrivning Värde
{anpassad egenskap} sträng

Resursdefinition för ARM-mall

Resurstypen service/authorizationProviders/authorizations kan distribueras med åtgärder som mål:

En lista över ändrade egenskaper i varje API-version finns i ändringsloggen.

Resursformat

Om du vill skapa en resurs för Microsoft.ApiManagement/service/authorizationProviders/authorizations lägger du till följande JSON i mallen.

{
  "type": "Microsoft.ApiManagement/service/authorizationProviders/authorizations",
  "apiVersion": "2022-09-01-preview",
  "name": "string",
  "properties": {
    "authorizationType": "OAuth2",
    "error": {
      "code": "string",
      "message": "string"
    },
    "oauth2grantType": "string",
    "parameters": {
      "{customized property}": "string"
    },
    "status": "string"
  }
}

Egenskapsvärden

service/authorizationProviders/authorizations

Name Beskrivning Värde
typ Resurstypen "Microsoft.ApiManagement/service/authorizationProviders/authorizations"
apiVersion Resurs-API-versionen "2022-09-01-preview"
name Resursnamnet

Se hur du anger namn och typer för underordnade resurser i JSON ARM-mallar.
sträng (krävs)
properties Egenskaper för auktoriseringskontraktet. AuthorizationContractProperties

AuthorizationContractProperties

Name Beskrivning Värde
authorizationType Alternativ för auktoriseringstyp "OAuth2"
fel Information om auktoriseringsfel. AuthorizationError
oauth2grantType Alternativ för OAuth2-beviljandetyp "AuthorizationCode"
"ClientCredentials"
parametrar Auktoriseringsparametrar AuthorizationContractPropertiesParameters
status Status för auktoriseringen sträng

AuthorizationError

Name Beskrivning Värde
kod Felkod sträng
meddelande Felmeddelande sträng

AuthorizationContractPropertiesParameters

Name Beskrivning Värde
{anpassad egenskap} sträng

Resursdefinition för Terraform (AzAPI-provider)

Resurstypen service/authorizationProviders/authorizations kan distribueras med åtgärder som mål:

  • Resursgrupper

En lista över ändrade egenskaper i varje API-version finns i ändringsloggen.

Resursformat

Om du vill skapa en Resurs för Microsoft.ApiManagement/service/authorizationProviders/authorizations lägger du till följande Terraform i mallen.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ApiManagement/service/authorizationProviders/authorizations@2022-09-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      authorizationType = "OAuth2"
      error = {
        code = "string"
        message = "string"
      }
      oauth2grantType = "string"
      parameters = {
        {customized property} = "string"
      }
      status = "string"
    }
  })
}

Egenskapsvärden

service/authorizationProviders/authorizations

Name Beskrivning Värde
typ Resurstypen "Microsoft.ApiManagement/service/authorizationProviders/authorizations@2022-09-01-preview"
name Resursnamnet sträng (krävs)
parent_id ID:t för resursen som är överordnad för den här resursen. ID för resurs av typen: authorizationProviders
properties Egenskaper för auktoriseringskontraktet. AuthorizationContractProperties

AuthorizationContractProperties

Name Beskrivning Värde
authorizationType Alternativ för auktoriseringstyp "OAuth2"
fel Information om auktoriseringsfel. AuthorizationError
oauth2grantType Alternativ för OAuth2-beviljandetyp "AuthorizationCode"
"ClientCredentials"
parametrar Auktoriseringsparametrar AuthorizationContractPropertiesParameters
status Status för auktoriseringen sträng

AuthorizationError

Name Beskrivning Värde
kod Felkod sträng
meddelande Felmeddelande sträng

AuthorizationContractPropertiesParameters

Name Beskrivning Värde
{anpassad egenskap} sträng