Update API Management specifications
This commit is contained in:
Родитель
01c1e695b4
Коммит
5a064fb2f7
|
@ -20,6 +20,7 @@ objects:
|
|||
python_client_namespace: azure.mgmt.apimanagement
|
||||
python_client: ApiManagementClient.api
|
||||
create: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
async: true
|
||||
go_func_name: CreateOrUpdate
|
||||
python_func_name: create_or_update
|
||||
request:
|
||||
|
@ -56,17 +57,73 @@ objects:
|
|||
'/authenticationSettings': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authentication_settings
|
||||
'/authenticationSettings/oAuth2': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: o_auth2
|
||||
'/authenticationSettings/oAuth2/authorizationServerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authorization_server_id
|
||||
'/authenticationSettings/oAuth2/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: scope
|
||||
'/authenticationSettings/openid': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: openid
|
||||
'/authenticationSettings/openid/openidProviderId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: openid_provider_id
|
||||
'/authenticationSettings/openid/bearerTokenSendingMethods': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: bearer_token_sending_methods
|
||||
'/authenticationSettings/subscriptionKeyRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_key_required
|
||||
'/properties/authenticationSettings': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AuthenticationSettings
|
||||
go_type_name: AuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/oAuth2': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: OAuth2
|
||||
go_type_name: OAuth2AuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/oAuth2/authorizationServerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AuthorizationServerID
|
||||
'/properties/authenticationSettings/oAuth2/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Scope
|
||||
'/properties/authenticationSettings/openid': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Openid
|
||||
go_type_name: OpenIdAuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/openid/openidProviderId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: OpenidProviderID
|
||||
'/properties/authenticationSettings/openid/bearerTokenSendingMethods': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: BearerTokenSendingMethods
|
||||
'/properties/authenticationSettings/subscriptionKeyRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionKeyRequired
|
||||
'/subscriptionKeyParameterNames': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_key_parameter_names
|
||||
'/subscriptionKeyParameterNames/header': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: header
|
||||
'/subscriptionKeyParameterNames/query': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: query
|
||||
'/properties/subscriptionKeyParameterNames': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionKeyParameterNames
|
||||
go_type_name: SubscriptionKeyParameterNamesContract
|
||||
'/properties/subscriptionKeyParameterNames/header': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Header
|
||||
'/properties/subscriptionKeyParameterNames/query': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Query
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: type
|
||||
|
@ -86,6 +143,12 @@ objects:
|
|||
'/properties/apiVersion': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ApiVersion
|
||||
'/isCurrent': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: is_current
|
||||
'/properties/isCurrent': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: IsCurrent
|
||||
'/apiRevisionDescription': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: api_revision_description
|
||||
|
@ -104,6 +167,18 @@ objects:
|
|||
'/properties/apiVersionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ApiVersionSetID
|
||||
'/subscriptionRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_required
|
||||
'/properties/subscriptionRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionRequired
|
||||
'/sourceApiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: source_api_id
|
||||
'/properties/sourceApiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SourceApiID
|
||||
'/displayName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: display_name
|
||||
|
@ -122,10 +197,10 @@ objects:
|
|||
'/properties/path': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Path
|
||||
'/protocols': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/protocols':
|
||||
applicable_to: [python]
|
||||
python_field_name: protocols
|
||||
'/properties/protocols': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/properties/protocols':
|
||||
applicable_to: [go]
|
||||
go_field_name: Protocols
|
||||
'/apiVersionSet': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
|
@ -134,6 +209,9 @@ objects:
|
|||
'/apiVersionSet/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: id
|
||||
'/apiVersionSet/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: name
|
||||
'/apiVersionSet/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: description
|
||||
|
@ -153,6 +231,9 @@ objects:
|
|||
'/properties/apiVersionSet/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ID
|
||||
'/properties/apiVersionSet/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
'/properties/apiVersionSet/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Description
|
||||
|
@ -166,18 +247,18 @@ objects:
|
|||
'/properties/apiVersionSet/versionHeaderName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: VersionHeaderName
|
||||
'/contentValue': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_value
|
||||
'/properties/contentValue': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentValue
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: ContentFormat
|
||||
'/wsdlSelector': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
|
@ -252,17 +333,73 @@ objects:
|
|||
'/authenticationSettings': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authentication_settings
|
||||
'/authenticationSettings/oAuth2': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: o_auth2
|
||||
'/authenticationSettings/oAuth2/authorizationServerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authorization_server_id
|
||||
'/authenticationSettings/oAuth2/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: scope
|
||||
'/authenticationSettings/openid': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: openid
|
||||
'/authenticationSettings/openid/openidProviderId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: openid_provider_id
|
||||
'/authenticationSettings/openid/bearerTokenSendingMethods': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: bearer_token_sending_methods
|
||||
'/authenticationSettings/subscriptionKeyRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_key_required
|
||||
'/properties/authenticationSettings': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AuthenticationSettings
|
||||
go_type_name: AuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/oAuth2': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: OAuth2
|
||||
go_type_name: OAuth2AuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/oAuth2/authorizationServerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AuthorizationServerID
|
||||
'/properties/authenticationSettings/oAuth2/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Scope
|
||||
'/properties/authenticationSettings/openid': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Openid
|
||||
go_type_name: OpenIdAuthenticationSettingsContract
|
||||
'/properties/authenticationSettings/openid/openidProviderId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: OpenidProviderID
|
||||
'/properties/authenticationSettings/openid/bearerTokenSendingMethods': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: BearerTokenSendingMethods
|
||||
'/properties/authenticationSettings/subscriptionKeyRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionKeyRequired
|
||||
'/subscriptionKeyParameterNames': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_key_parameter_names
|
||||
'/subscriptionKeyParameterNames/header': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: header
|
||||
'/subscriptionKeyParameterNames/query': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: query
|
||||
'/properties/subscriptionKeyParameterNames': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionKeyParameterNames
|
||||
go_type_name: SubscriptionKeyParameterNamesContract
|
||||
'/properties/subscriptionKeyParameterNames/header': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Header
|
||||
'/properties/subscriptionKeyParameterNames/query': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Query
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: type
|
||||
|
@ -282,6 +419,12 @@ objects:
|
|||
'/properties/apiVersion': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ApiVersion
|
||||
'/isCurrent': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: is_current
|
||||
'/properties/isCurrent': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: IsCurrent
|
||||
'/apiRevisionDescription': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: api_revision_description
|
||||
|
@ -300,6 +443,18 @@ objects:
|
|||
'/properties/apiVersionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ApiVersionSetID
|
||||
'/subscriptionRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: subscription_required
|
||||
'/properties/subscriptionRequired': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SubscriptionRequired
|
||||
'/sourceApiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: source_api_id
|
||||
'/properties/sourceApiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SourceApiID
|
||||
'/displayName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: display_name
|
||||
|
@ -318,10 +473,10 @@ objects:
|
|||
'/properties/path': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Path
|
||||
'/protocols': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/protocols':
|
||||
applicable_to: [python]
|
||||
python_field_name: protocols
|
||||
'/properties/protocols': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/properties/protocols':
|
||||
applicable_to: [go]
|
||||
go_field_name: Protocols
|
||||
'/apiVersionSet': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
|
@ -330,6 +485,9 @@ objects:
|
|||
'/apiVersionSet/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: id
|
||||
'/apiVersionSet/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: name
|
||||
'/apiVersionSet/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: description
|
||||
|
@ -349,6 +507,9 @@ objects:
|
|||
'/properties/apiVersionSet/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ID
|
||||
'/properties/apiVersionSet/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
'/properties/apiVersionSet/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Description
|
||||
|
@ -362,18 +523,18 @@ objects:
|
|||
'/properties/apiVersionSet/versionHeaderName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: VersionHeaderName
|
||||
'/contentValue': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_value
|
||||
'/properties/contentValue': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentValue
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: ContentFormat
|
||||
'/wsdlSelector': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
|
@ -494,14 +655,67 @@ objects:
|
|||
name: 'authenticationSettings'
|
||||
description: 'Collection of authentication settings included into this API.'
|
||||
required: false
|
||||
sample_value: [object Object]
|
||||
azure_sdk_references: ['/authenticationSettings', '/properties/authenticationSettings']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'oAuth2'
|
||||
description: 'OAuth2 Authentication settings'
|
||||
required: false
|
||||
azure_sdk_references: ['/authenticationSettings/oAuth2', '/properties/authenticationSettings/oAuth2']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'authorizationServerId'
|
||||
description: 'OAuth authorization server identifier.'
|
||||
required: false
|
||||
sample_value: authorizationServerId2283
|
||||
azure_sdk_references: ['/authenticationSettings/oAuth2/authorizationServerId', '/properties/authenticationSettings/oAuth2/authorizationServerId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'scope'
|
||||
description: 'operations scope.'
|
||||
required: false
|
||||
sample_value: oauth2scope2580
|
||||
azure_sdk_references: ['/authenticationSettings/oAuth2/scope', '/properties/authenticationSettings/oAuth2/scope']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'openid'
|
||||
description: 'OpenID Connect Authentication Settings'
|
||||
required: false
|
||||
azure_sdk_references: ['/authenticationSettings/openid', '/properties/authenticationSettings/openid']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'openidProviderId'
|
||||
description: 'OAuth authorization server identifier.'
|
||||
required: false
|
||||
sample_value: testopenid
|
||||
azure_sdk_references: ['/authenticationSettings/openid/openidProviderId', '/properties/authenticationSettings/openid/openidProviderId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'bearerTokenSendingMethods'
|
||||
description: 'How to send token to the server.'
|
||||
required: false
|
||||
sample_value: authorizationHeader
|
||||
azure_sdk_references: ['/authenticationSettings/openid/bearerTokenSendingMethods', '/properties/authenticationSettings/openid/bearerTokenSendingMethods']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'subscriptionKeyRequired'
|
||||
description: 'Specifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.'
|
||||
required: false
|
||||
azure_sdk_references: ['/authenticationSettings/subscriptionKeyRequired', '/properties/authenticationSettings/subscriptionKeyRequired']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'subscriptionKeyParameterNames'
|
||||
description: 'Protocols over which API is made available.'
|
||||
required: false
|
||||
sample_value: [object Object]
|
||||
azure_sdk_references: ['/subscriptionKeyParameterNames', '/properties/subscriptionKeyParameterNames']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'header'
|
||||
description: 'Subscription key header name.'
|
||||
required: false
|
||||
sample_value: Ocp-Apim-Subscription-Key
|
||||
azure_sdk_references: ['/subscriptionKeyParameterNames/header', '/properties/subscriptionKeyParameterNames/header']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'query'
|
||||
description: 'Subscription key query string parameter name.'
|
||||
required: false
|
||||
sample_value: subscription-key
|
||||
azure_sdk_references: ['/subscriptionKeyParameterNames/query', '/properties/subscriptionKeyParameterNames/query']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'type'
|
||||
description: 'Type of API.'
|
||||
|
@ -519,32 +733,52 @@ objects:
|
|||
name: 'apiVersion'
|
||||
description: 'Indicates the Version identifier of the API if the API is versioned'
|
||||
required: false
|
||||
sample_value: v4
|
||||
azure_sdk_references: ['/apiVersion', '/properties/apiVersion']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'isCurrent'
|
||||
description: 'Indicates if API revision is current api revision.'
|
||||
required: false
|
||||
sample_value: true
|
||||
azure_sdk_references: ['/isCurrent', '/properties/isCurrent']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'apiRevisionDescription'
|
||||
description: 'Description of the Api Revision.'
|
||||
required: false
|
||||
sample_value: moved to swagger petstore backend
|
||||
sample_value: Creating a Revision of an existing API
|
||||
azure_sdk_references: ['/apiRevisionDescription', '/properties/apiRevisionDescription']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'apiVersionDescription'
|
||||
description: 'Description of the Api Version.'
|
||||
required: false
|
||||
azure_sdk_references: ['/apiVersionDescription', '/properties/apiVersionDescription']
|
||||
- !ruby/object:Api::Type::String
|
||||
- !ruby/object:Api::Type::ResourceReference
|
||||
name: 'apiVersionSetId'
|
||||
description: 'A resource identifier for the related ApiVersionSet.'
|
||||
required: false
|
||||
sample_value: /subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group }}/providers/Microsoft.ApiManagement/service/{{ service_name }}/apiVersionSets/{{ name }}
|
||||
azure_sdk_references: ['/apiVersionSetId', '/properties/apiVersionSetId']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'subscriptionRequired'
|
||||
description: 'Specifies whether an API or Product subscription is required for accessing the API.'
|
||||
required: false
|
||||
sample_value: true
|
||||
azure_sdk_references: ['/subscriptionRequired', '/properties/subscriptionRequired']
|
||||
- !ruby/object:Api::Type::ResourceReference
|
||||
name: 'sourceApiId'
|
||||
description: 'API identifier of the source API.'
|
||||
required: false
|
||||
sample_value: /subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group }}/providers/Microsoft.ApiManagement/service/{{ service_name }}/apis/{{ name }}
|
||||
azure_sdk_references: ['/sourceApiId', '/properties/sourceApiId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'displayName'
|
||||
description: 'API name.'
|
||||
description: 'API name. Must be 1 to 300 characters long.'
|
||||
required: false
|
||||
sample_value: Echo API New
|
||||
azure_sdk_references: ['/displayName', '/properties/displayName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'serviceUrl'
|
||||
description: 'Absolute URL of the backend service implementing this API.'
|
||||
description: 'Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.'
|
||||
required: false
|
||||
sample_value: http://echoapi.cloudapp.net/api2
|
||||
azure_sdk_references: ['/serviceUrl', '/properties/serviceUrl']
|
||||
|
@ -554,7 +788,7 @@ objects:
|
|||
required: true
|
||||
sample_value: newecho
|
||||
azure_sdk_references: ['/path', '/properties/path']
|
||||
- !ruby/object:Api::Type::String
|
||||
-
|
||||
name: 'protocols'
|
||||
description: 'Describes on which protocols the operations in this API can be invoked.'
|
||||
required: false
|
||||
|
@ -562,7 +796,7 @@ objects:
|
|||
azure_sdk_references: ['/protocols', '/properties/protocols']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'apiVersionSet'
|
||||
description: 'undefined'
|
||||
description: 'Version set details'
|
||||
required: false
|
||||
azure_sdk_references: ['/apiVersionSet', '/properties/apiVersionSet']
|
||||
properties:
|
||||
|
@ -571,6 +805,11 @@ objects:
|
|||
description: 'Identifier for existing API Version Set. Omit this value to create a new Version Set.'
|
||||
required: false
|
||||
azure_sdk_references: ['/apiVersionSet/id', '/properties/apiVersionSet/id']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'name'
|
||||
description: 'The display Name of the API Version Set.'
|
||||
required: false
|
||||
azure_sdk_references: ['/apiVersionSet/name', '/properties/apiVersionSet/name']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'description'
|
||||
description: 'Description of API Version Set.'
|
||||
|
@ -596,13 +835,13 @@ objects:
|
|||
required: false
|
||||
azure_sdk_references: ['/apiVersionSet/versionHeaderName', '/properties/apiVersionSet/versionHeaderName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'contentValue'
|
||||
name: 'value'
|
||||
description: 'Content value when Importing an API.'
|
||||
required: false
|
||||
sample_value: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
|
||||
azure_sdk_references: ['/contentValue', '/properties/contentValue']
|
||||
azure_sdk_references: ['/value', '/properties/value']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'contentFormat'
|
||||
name: 'format'
|
||||
description: 'Format of the Content in which the API is getting imported.'
|
||||
required: false
|
||||
values:
|
||||
|
@ -612,8 +851,11 @@ objects:
|
|||
- :swagger-link-json
|
||||
- :wsdl
|
||||
- :wsdl-link
|
||||
- :openapi
|
||||
- :openapi+json
|
||||
- :openapi-link
|
||||
sample_value: wsdl-link
|
||||
azure_sdk_references: ['/contentFormat', '/properties/contentFormat']
|
||||
azure_sdk_references: ['/format', '/properties/format']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'wsdlSelector'
|
||||
description: 'Criteria to limit import of WSDL to a subset of the document.'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementDeleteApi.json
|
||||
description: ApiManagementDeleteApi
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementUpdateApi.json
|
||||
description: ApiManagementUpdateApi
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiUsingSwaggerImport
|
||||
description: ApiManagementCreateApiUsingOai3Import
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
path: petstore
|
||||
content_value: 'http://petstore.swagger.io/v2/swagger.json'
|
||||
content_format: swagger-link-json
|
||||
value: >-
|
||||
https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml
|
||||
format: openapi-link
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiUsingWadlImport
|
||||
description: ApiManagementCreateApiUsingSwaggerImport
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
path: collector
|
||||
content_value: >-
|
||||
https://developer.cisco.com/media/wae-release-6-2-api-reference/wae-collector-rest-api/application.wadl
|
||||
content_format: wadl-link-json
|
||||
path: petstore
|
||||
value: 'http://petstore.swagger.io/v2/swagger.json'
|
||||
format: swagger-link-json
|
||||
|
|
@ -1,15 +1,13 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateSoapToRestApiUsingWsdlImport
|
||||
description: ApiManagementCreateApiUsingWadlImport
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
path: currency
|
||||
content_value: 'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL'
|
||||
content_format: wsdl-link
|
||||
wsdl_selector:
|
||||
wsdl_service_name: CurrencyConvertor
|
||||
wsdl_endpoint_name: CurrencyConvertorSoap
|
||||
path: collector
|
||||
value: >-
|
||||
https://developer.cisco.com/media/wae-release-6-2-api-reference/wae-collector-rest-api/application.wadl
|
||||
format: wadl-link-json
|
||||
|
|
@ -1,16 +1,15 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateSoapPassThroughApiUsingWsdlImport
|
||||
description: ApiManagementCreateSoapToRestApiUsingWsdlImport
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
path: currency
|
||||
content_value: 'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL'
|
||||
content_format: wsdl-link
|
||||
value: 'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL'
|
||||
format: wsdl-link
|
||||
wsdl_selector:
|
||||
wsdl_service_name: CurrencyConvertor
|
||||
wsdl_endpoint_name: CurrencyConvertorSoap
|
||||
api_type: soap
|
||||
|
|
@ -1,23 +1,16 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApi
|
||||
description: ApiManagementCreateSoapPassThroughApiUsingWsdlImport
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: apidescription5200
|
||||
authentication_settings:
|
||||
oAuth2:
|
||||
authorizationServerId: authorizationServerId2283
|
||||
scope: oauth2scope2580
|
||||
subscription_key_parameter_names:
|
||||
header: header4520
|
||||
query: query3037
|
||||
display_name: apiname1463
|
||||
service_url: 'http://newechoapi.cloudapp.net/api'
|
||||
path: newapiPath
|
||||
protocols:
|
||||
- https
|
||||
- http
|
||||
path: currency
|
||||
value: 'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL'
|
||||
format: wsdl-link
|
||||
wsdl_selector:
|
||||
wsdl_service_name: CurrencyConvertor
|
||||
wsdl_endpoint_name: CurrencyConvertorSoap
|
||||
api_type: soap
|
||||
|
|
@ -1,23 +1,23 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiRevision
|
||||
description: ApiManagementCreateApi
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: >-
|
||||
This is a sample server Petstore server. You can find out more about
|
||||
Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net,
|
||||
#swagger](http://swagger.io/irc/). For this sample, you can use the api key
|
||||
`special-key` to test the authorization filters.
|
||||
description: apidescription5200
|
||||
authentication_settings:
|
||||
o_auth2:
|
||||
authorization_server_id: authorizationServerId2283
|
||||
scope: oauth2scope2580
|
||||
subscription_key_parameter_names:
|
||||
header: Ocp-Apim-Subscription-Key
|
||||
query: subscription-key
|
||||
api_revision_description: moved to swagger petstore backend
|
||||
display_name: Echo API
|
||||
service_url: 'http://petstore.swagger.io/v5'
|
||||
path: petstore2
|
||||
header: header4520
|
||||
query: query3037
|
||||
display_name: apiname1463
|
||||
service_url: 'http://newechoapi.cloudapp.net/api'
|
||||
path: newapiPath
|
||||
protocols:
|
||||
- https
|
||||
- http
|
||||
|
|
@ -1,27 +1,16 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiWithOpenIdConnect
|
||||
description: ApiManagementCreateApiRevisionFromExistingApi
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: >-
|
||||
This is a sample server Petstore server. You can find out more about
|
||||
Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net,
|
||||
#swagger](http://swagger.io/irc/). For this sample, you can use the api key
|
||||
`special-key` to test the authorization filters.
|
||||
authentication_settings:
|
||||
openid:
|
||||
openidProviderId: testopenid
|
||||
bearerTokenSendingMethods:
|
||||
- authorizationHeader
|
||||
subscription_key_parameter_names:
|
||||
header: Ocp-Apim-Subscription-Key
|
||||
query: subscription-key
|
||||
display_name: Swagger Petstore
|
||||
service_url: 'http://petstore.swagger.io/v2'
|
||||
path: petstore
|
||||
protocols:
|
||||
- https
|
||||
api_revision_description: Creating a Revision of an existing API
|
||||
source_api_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name }}/apis/{{
|
||||
apis_name }}
|
||||
service_url: 'http://echoapi.cloudapp.net/apiv3'
|
||||
path: echo
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiNewVersionUsingExistingApi
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: >-
|
||||
Create Echo API into a new Version using Existing Version Set and Copy all
|
||||
Operations.
|
||||
api_version: v4
|
||||
is_current: true
|
||||
api_version_set_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name
|
||||
}}/apiVersionSets/{{ api_version_set_name }}
|
||||
subscription_required: true
|
||||
source_api_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name }}/apis/{{
|
||||
apis_name }}
|
||||
display_name: Echo API2
|
||||
service_url: 'http://echoapi.cloudapp.net/api'
|
||||
path: echo2
|
||||
protocols:
|
||||
- http
|
||||
- https
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiClone
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: Copy of Existing Echo Api including Operations.
|
||||
is_current: true
|
||||
subscription_required: true
|
||||
source_api_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name }}/apis/{{
|
||||
apis_name }}
|
||||
display_name: Echo API2
|
||||
service_url: 'http://echoapi.cloudapp.net/api'
|
||||
path: echo2
|
||||
protocols:
|
||||
- http
|
||||
- https
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapi
|
||||
description: ApiManagementCreateApiWithOpenIdConnect
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
description: >-
|
||||
This is a sample server Petstore server. You can find out more about
|
||||
Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net,
|
||||
#swagger](http://swagger.io/irc/). For this sample, you can use the api key
|
||||
`special-key` to test the authorization filters.
|
||||
authentication_settings:
|
||||
openid:
|
||||
openid_provider_id: testopenid
|
||||
bearer_token_sending_methods:
|
||||
- authorizationHeader
|
||||
subscription_key_parameter_names:
|
||||
header: Ocp-Apim-Subscription-Key
|
||||
query: subscription-key
|
||||
display_name: Swagger Petstore
|
||||
service_url: 'http://petstore.swagger.io/v2'
|
||||
path: petstore
|
||||
protocols:
|
||||
- https
|
||||
|
|
@ -52,12 +52,163 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: DiagnosticContractProperties
|
||||
'/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
'/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enabled
|
||||
'/properties/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
python_field_name: always_log
|
||||
'/properties/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Enabled
|
||||
go_field_name: AlwaysLog
|
||||
go_enum_type_name: AlwaysLog
|
||||
'/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: logger_id
|
||||
'/properties/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: LoggerID
|
||||
'/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling
|
||||
'/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling_type
|
||||
'/sampling/percentage':
|
||||
applicable_to: [python]
|
||||
python_field_name: percentage
|
||||
'/properties/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Sampling
|
||||
go_type_name: SamplingSettings
|
||||
'/properties/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SamplingType
|
||||
go_enum_type_name: SamplingType
|
||||
'/properties/sampling/percentage':
|
||||
applicable_to: [go]
|
||||
go_field_name: Percentage
|
||||
'/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: frontend
|
||||
'/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Frontend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: backend
|
||||
'/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Backend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_http_correlation_headers
|
||||
'/properties/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableHttpCorrelationHeaders
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -101,12 +252,163 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: DiagnosticContractProperties
|
||||
'/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
'/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enabled
|
||||
'/properties/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
python_field_name: always_log
|
||||
'/properties/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Enabled
|
||||
go_field_name: AlwaysLog
|
||||
go_enum_type_name: AlwaysLog
|
||||
'/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: logger_id
|
||||
'/properties/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: LoggerID
|
||||
'/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling
|
||||
'/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling_type
|
||||
'/sampling/percentage':
|
||||
applicable_to: [python]
|
||||
python_field_name: percentage
|
||||
'/properties/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Sampling
|
||||
go_type_name: SamplingSettings
|
||||
'/properties/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SamplingType
|
||||
go_enum_type_name: SamplingType
|
||||
'/properties/sampling/percentage':
|
||||
applicable_to: [go]
|
||||
go_field_name: Percentage
|
||||
'/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: frontend
|
||||
'/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Frontend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: backend
|
||||
'/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Backend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_http_correlation_headers
|
||||
'/properties/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableHttpCorrelationHeaders
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -207,8 +509,150 @@ objects:
|
|||
input: true
|
||||
sample_value: myDiagnostic
|
||||
azure_sdk_references: ['diagnosticId']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'enabled'
|
||||
description: 'Indicates whether a diagnostic should receive data or not.'
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'alwaysLog'
|
||||
description: 'Specifies for what type of messages sampling settings should not apply.'
|
||||
required: false
|
||||
values:
|
||||
- :allErrors
|
||||
sample_value: allErrors
|
||||
azure_sdk_references: ['/alwaysLog', '/properties/alwaysLog']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'loggerId'
|
||||
description: 'Resource Id of a target logger.'
|
||||
required: true
|
||||
azure_sdk_references: ['/enabled', '/properties/enabled']
|
||||
sample_value: /loggers/applicationinsights
|
||||
azure_sdk_references: ['/loggerId', '/properties/loggerId']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'sampling'
|
||||
description: 'Sampling settings for Diagnostic.'
|
||||
required: false
|
||||
azure_sdk_references: ['/sampling', '/properties/sampling']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'samplingType'
|
||||
description: 'Sampling type.'
|
||||
required: false
|
||||
values:
|
||||
- :fixed
|
||||
sample_value: fixed
|
||||
azure_sdk_references: ['/sampling/samplingType', '/properties/sampling/samplingType']
|
||||
-
|
||||
name: 'percentage'
|
||||
description: 'Rate of sampling for fixed-rate sampling.'
|
||||
required: false
|
||||
sample_value: 50
|
||||
azure_sdk_references: ['/sampling/percentage', '/properties/sampling/percentage']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'frontend'
|
||||
description: 'Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend', '/properties/frontend']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'request'
|
||||
description: 'Diagnostic settings for request.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/request', '/properties/frontend/request']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/frontend/request/headers', '/properties/frontend/request/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/request/body', '/properties/frontend/request/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/frontend/request/body/bytes', '/properties/frontend/request/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'response'
|
||||
description: 'Diagnostic settings for response.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/response', '/properties/frontend/response']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/frontend/response/headers', '/properties/frontend/response/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/response/body', '/properties/frontend/response/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/frontend/response/body/bytes', '/properties/frontend/response/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'backend'
|
||||
description: 'Diagnostic settings for incoming/outgoing HTTP messages to the Backend'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend', '/properties/backend']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'request'
|
||||
description: 'Diagnostic settings for request.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/request', '/properties/backend/request']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/backend/request/headers', '/properties/backend/request/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/request/body', '/properties/backend/request/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/backend/request/body/bytes', '/properties/backend/request/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'response'
|
||||
description: 'Diagnostic settings for response.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/response', '/properties/backend/response']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/backend/response/headers', '/properties/backend/response/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/response/body', '/properties/backend/response/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/backend/response/body/bytes', '/properties/backend/response/body/bytes']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'enableHttpCorrelationHeaders'
|
||||
description: 'Whether to process Correlation Headers coming to Api Management Service. Only applicable to Application Insights diagnostics. Default is true.'
|
||||
required: false
|
||||
azure_sdk_references: ['/enableHttpCorrelationHeaders', '/properties/enableHttpCorrelationHeaders']
|
|
@ -7,5 +7,31 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
name: myService
|
||||
api_id: myApis
|
||||
diagnostic_id: myDiagnostic
|
||||
enabled: false
|
||||
always_log: allErrors
|
||||
logger_id: /loggers/applicationinsights
|
||||
sampling:
|
||||
sampling_type: fixed
|
||||
percentage: '50'
|
||||
frontend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
backend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
|
|
@ -7,5 +7,31 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
name: myService
|
||||
api_id: myApis
|
||||
diagnostic_id: myDiagnostic
|
||||
enabled: true
|
||||
always_log: allErrors
|
||||
logger_id: /loggers/applicationinsights
|
||||
sampling:
|
||||
sampling_type: fixed
|
||||
percentage: '50'
|
||||
frontend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
backend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -9,22 +9,22 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
operation_id: myOperation
|
||||
template_parameters: []
|
||||
request:
|
||||
queryParameters:
|
||||
query_parameters:
|
||||
- name: param1
|
||||
description: >-
|
||||
A sample parameter that is required and has a default value of
|
||||
"sample".
|
||||
type: string
|
||||
defaultValue: sample
|
||||
default_value: sample
|
||||
required: true
|
||||
values:
|
||||
- sample
|
||||
responses:
|
||||
- statusCode: '200'
|
||||
- status_code: '200'
|
||||
description: Returned in all cases.
|
||||
representations: []
|
||||
headers: []
|
||||
- statusCode: '500'
|
||||
- status_code: '500'
|
||||
description: Server Error.
|
||||
representations: []
|
||||
headers: []
|
||||
|
|
|
@ -11,18 +11,18 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
description: This can only be done by the logged in user.
|
||||
request:
|
||||
description: Created user object
|
||||
queryParameters: []
|
||||
query_parameters: []
|
||||
headers: []
|
||||
representations:
|
||||
- contentType: application/json
|
||||
schemaId: 592f6c1d0af5840ca8897f0c
|
||||
typeName: User
|
||||
- content_type: application/json
|
||||
schema_id: 592f6c1d0af5840ca8897f0c
|
||||
type_name: User
|
||||
responses:
|
||||
- statusCode: '200'
|
||||
- status_code: '200'
|
||||
description: successful operation
|
||||
representations:
|
||||
- contentType: application/xml
|
||||
- contentType: application/json
|
||||
- content_type: application/xml
|
||||
- content_type: application/json
|
||||
headers: []
|
||||
display_name: createUser2
|
||||
method: POST
|
||||
|
|
|
@ -57,18 +57,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: PolicyContractProperties
|
||||
'/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: policy_content
|
||||
'/properties/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: PolicyContent
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
|
@ -188,13 +188,13 @@ objects:
|
|||
sample_value: myPolicy
|
||||
azure_sdk_references: ['policyId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'policyContent'
|
||||
description: 'Json escaped Xml Encoded contents of the Policy.'
|
||||
name: 'value'
|
||||
description: 'Contents of the Policy as defined by the format.'
|
||||
required: true
|
||||
sample_value: <policies> <inbound /> <backend> <forward-request /> </backend> <outbound /></policies>
|
||||
azure_sdk_references: ['/policyContent', '/properties/policyContent']
|
||||
azure_sdk_references: ['/value', '/properties/value']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'contentFormat'
|
||||
name: 'format'
|
||||
description: 'Format of the policyContent.'
|
||||
required: false
|
||||
values:
|
||||
|
@ -203,4 +203,4 @@ objects:
|
|||
- :rawxml
|
||||
- :rawxml-link
|
||||
sample_value: xml
|
||||
azure_sdk_references: ['/contentFormat', '/properties/contentFormat']
|
||||
azure_sdk_references: ['/format', '/properties/format']
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapioperationpolicy
|
||||
description: ApiManagementDeleteOperationPolicy
|
||||
description: ApiManagementDeleteApiOperationPolicy
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
|
|
|
@ -8,8 +8,8 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
api_id: myApis
|
||||
operation_id: myOperation
|
||||
policy_id: myPolicy
|
||||
policy_content: >-
|
||||
value: >-
|
||||
<policies> <inbound /> <backend> <forward-request /> </backend>
|
||||
<outbound /></policies>
|
||||
content_format: xml
|
||||
format: xml
|
||||
|
|
@ -52,18 +52,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: PolicyContractProperties
|
||||
'/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: policy_content
|
||||
'/properties/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: PolicyContent
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
|
@ -123,6 +123,10 @@ objects:
|
|||
go_variable_name: PolicyID
|
||||
python_parameter_name: policy_id
|
||||
python_variable_name: policy_id
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
python_field_name: format
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -166,8 +170,8 @@ objects:
|
|||
sample_value: myPolicy
|
||||
azure_sdk_references: ['policyId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'policyContent'
|
||||
description: 'Json escaped Xml Encoded contents of the Policy.'
|
||||
name: 'value'
|
||||
description: 'Contents of the Policy as defined by the format.'
|
||||
required: true
|
||||
sample_value: <policies>
|
||||
<inbound>
|
||||
|
@ -177,9 +181,9 @@ objects:
|
|||
</set-header>
|
||||
</inbound>
|
||||
</policies>
|
||||
azure_sdk_references: ['/policyContent', '/properties/policyContent']
|
||||
azure_sdk_references: ['/value', '/properties/value']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'contentFormat'
|
||||
name: 'format'
|
||||
description: 'Format of the policyContent.'
|
||||
required: false
|
||||
values:
|
||||
|
@ -188,4 +192,4 @@ objects:
|
|||
- :rawxml
|
||||
- :rawxml-link
|
||||
sample_value: rawxml
|
||||
azure_sdk_references: ['/contentFormat', '/properties/contentFormat']
|
||||
azure_sdk_references: ['/format', '/properties/format']
|
|
@ -7,8 +7,8 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
name: myService
|
||||
api_id: myApis
|
||||
policy_id: myPolicy
|
||||
policy_content: >-
|
||||
value: >-
|
||||
<policies> <inbound /> <backend> <forward-request /> </backend>
|
||||
<outbound /></policies>
|
||||
content_format: xml
|
||||
format: xml
|
||||
|
|
@ -7,6 +7,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
name: myService
|
||||
api_id: myApis
|
||||
policy_id: myPolicy
|
||||
policy_content: "<policies>\r\n <inbound>\r\n <base />\r\n <set-header name=\"newvalue\" exists-action=\"override\">\r\n <value>\"@(context.Request.Headers.FirstOrDefault(h => h.Ke==\"Via\"))\" </value>\r\n </set-header>\r\n </inbound>\r\n </policies>"
|
||||
content_format: rawxml
|
||||
value: "<policies>\r\n <inbound>\r\n <base />\r\n <set-header name=\"newvalue\" exists-action=\"override\">\r\n <value>\"@(context.Request.Headers.FirstOrDefault(h => h.Ke==\"Via\"))\" </value>\r\n </set-header>\r\n </inbound>\r\n </policies>"
|
||||
format: rawxml
|
||||
|
|
@ -20,8 +20,8 @@ objects:
|
|||
python_client_namespace: azure.mgmt.apimanagement
|
||||
python_client: ApiManagementClient.api_release
|
||||
create: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Create
|
||||
python_func_name: create
|
||||
go_func_name: CreateOrUpdate
|
||||
python_func_name: create_or_update
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
|
|
|
@ -0,0 +1,190 @@
|
|||
--- !ruby/object:Api::Product
|
||||
name: Azure ApiTagDescription Management
|
||||
prefix: azure_rm_apimanagementapitagdescription
|
||||
versions:
|
||||
- !ruby/object:Api::Product::Version
|
||||
name: ga
|
||||
base_url: NotUsedInAzure
|
||||
scopes:
|
||||
- NotUsedInAzure
|
||||
objects:
|
||||
- !ruby/object:Api::Resource
|
||||
name: ApiTagDescription
|
||||
api_name: ApiManagement
|
||||
base_url: NotUsedInAzure
|
||||
|
||||
azure_sdk_definition: !ruby/object:Api::Azure::SDKDefinition
|
||||
provider_name: Microsoft.ApiManagement
|
||||
go_client_namespace: apimanagement
|
||||
go_client: apiTagDescriptionClient
|
||||
python_client_namespace: azure.mgmt.apimanagement
|
||||
python_client: ApiManagementClient.api_tag_description
|
||||
create: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: CreateOrUpdate
|
||||
python_func_name: create_or_update
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'apiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: apis
|
||||
go_variable_name: ApiID
|
||||
python_parameter_name: api_id
|
||||
python_variable_name: api_id
|
||||
'tagId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: tagDescriptions
|
||||
go_variable_name: TagID
|
||||
python_parameter_name: tag_id
|
||||
python_variable_name: tag_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: TagDescriptionCreateParameters
|
||||
python_parameter_name: parameters
|
||||
python_variable_name: parameters
|
||||
'/properties': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: TagDescriptionBaseProperties
|
||||
'/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: description
|
||||
'/properties/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Description
|
||||
'/externalDocsUrl': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: external_docs_url
|
||||
'/properties/externalDocsUrl': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ExternalDocsURL
|
||||
'/externalDocsDescription': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: external_docs_description
|
||||
'/properties/externalDocsDescription': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ExternalDocsDescription
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
python_field_name: id
|
||||
'/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Name
|
||||
python_field_name: name
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Type
|
||||
python_field_name: type
|
||||
delete: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Delete
|
||||
python_func_name: delete
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'apiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: apis
|
||||
go_variable_name: ApiID
|
||||
python_parameter_name: api_id
|
||||
python_variable_name: api_id
|
||||
'tagId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: tagDescriptions
|
||||
go_variable_name: TagID
|
||||
python_parameter_name: tag_id
|
||||
python_variable_name: tag_id
|
||||
read: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Get
|
||||
python_func_name: get
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'apiId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: apis
|
||||
go_variable_name: ApiID
|
||||
python_parameter_name: api_id
|
||||
python_variable_name: api_id
|
||||
'tagId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: tagDescriptions
|
||||
go_variable_name: TagID
|
||||
python_parameter_name: tag_id
|
||||
python_variable_name: tag_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
python_field_name: id
|
||||
'/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Name
|
||||
python_field_name: name
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Type
|
||||
python_field_name: type
|
||||
|
||||
description: |
|
||||
Manage Azure ApiTagDescription instance.
|
||||
properties:
|
||||
- !ruby/object:Api::Azure::Type::ResourceGroupName
|
||||
name: 'resourceGroup'
|
||||
description: 'The name of the resource group.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myResourceGroup
|
||||
azure_sdk_references: ['resourceGroupName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'name'
|
||||
description: 'The name of the API Management service.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myService
|
||||
azure_sdk_references: ['serviceName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'apiId'
|
||||
description: 'API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myApis
|
||||
azure_sdk_references: ['apiId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'tagId'
|
||||
description: 'Tag identifier. Must be unique in the current API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myTagDescription
|
||||
azure_sdk_references: ['tagId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'description'
|
||||
description: 'Description of the Tag.'
|
||||
required: false
|
||||
sample_value: Some description that will be displayed for operation's tag if the tag is assigned to operation of the API
|
||||
azure_sdk_references: ['/description', '/properties/description']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'externalDocsUrl'
|
||||
description: 'Absolute URL of external resources describing the tag.'
|
||||
required: false
|
||||
sample_value: http://some.url/additionaldoc
|
||||
azure_sdk_references: ['/externalDocsUrl', '/properties/externalDocsUrl']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'externalDocsDescription'
|
||||
description: 'Description of the external resources describing the tag.'
|
||||
required: false
|
||||
sample_value: Description of the external docs resource
|
||||
azure_sdk_references: ['/externalDocsDescription', '/properties/externalDocsDescription']
|
|
@ -0,0 +1,11 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapitagdescription
|
||||
description: ApiManagementDeleteApiTagDescription
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
tag_id: myTagDescription
|
||||
state: absent
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapitagdescription
|
||||
description: ApiManagementCreateApiTagDescription
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
api_id: myApis
|
||||
tag_id: myTagDescription
|
||||
description: >-
|
||||
Some description that will be displayed for operation's tag if the tag is
|
||||
assigned to operation of the API
|
||||
external_docs_url: 'http://some.url/additionaldoc'
|
||||
external_docs_description: Description of the external docs resource
|
||||
|
|
@ -34,7 +34,7 @@ objects:
|
|||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'versionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: api-version-sets
|
||||
id_portion: apiVersionSets
|
||||
go_variable_name: VersionSetID
|
||||
python_parameter_name: version_set_id
|
||||
python_variable_name: version_set_id
|
||||
|
@ -103,7 +103,7 @@ objects:
|
|||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'versionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: api-version-sets
|
||||
id_portion: apiVersionSets
|
||||
go_variable_name: VersionSetID
|
||||
python_parameter_name: version_set_id
|
||||
python_variable_name: version_set_id
|
||||
|
@ -172,7 +172,7 @@ objects:
|
|||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'versionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: api-version-sets
|
||||
id_portion: apiVersionSets
|
||||
go_variable_name: VersionSetID
|
||||
python_parameter_name: version_set_id
|
||||
python_variable_name: version_set_id
|
||||
|
@ -191,7 +191,7 @@ objects:
|
|||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'versionSetId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: api-version-sets
|
||||
id_portion: apiVersionSets
|
||||
go_variable_name: VersionSetID
|
||||
python_parameter_name: version_set_id
|
||||
python_variable_name: version_set_id
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapiversionset
|
||||
description: ApiManagementDeleteApiVersionSet
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
version_set_id: myApiVersionSet
|
||||
state: absent
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapiversionset
|
||||
description: ApiManagementUpdateApiVersionSet
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
version_set_id: myApiVersionSet
|
||||
description: Version configuration
|
||||
display_name: api set 1
|
||||
versioning_scheme: Segment
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementapiversionset
|
||||
description: ApiManagementCreateApiVersionSet
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
version_set_id: myApiVersionSet
|
||||
description: Version configuration
|
||||
display_name: api set 1
|
||||
versioning_scheme: Segment
|
||||
|
|
@ -68,10 +68,22 @@ objects:
|
|||
'/tokenBodyParameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [python]
|
||||
python_field_name: token_body_parameters
|
||||
'/tokenBodyParameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: name
|
||||
'/tokenBodyParameters/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: value
|
||||
'/properties/tokenBodyParameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: TokenBodyParameters
|
||||
go_type_name: {"$id":"1462","$type":"SequenceType","elementType":{"$id":"1463","$type":"CompositeType","properties":[{"$id":"1464","isReadOnly":false,"realPath":["name"],"collectionFormat":"none","defaultValue":{"$id":"1465","fixed":false},"deprecated":false,"documentation":{"$id":"1466","fixed":false,"raw":"body parameter name."},"isRequired":true,"isConstant":false,"name":{"$id":"1467","fixed":false,"raw":"name"},"serializedName":"name","modelType":{"$id":"1468","$type":"PrimaryType","knownPrimaryType":"string","name":{"$id":"1469","fixed":false,"raw":"String"},"deprecated":false}},{"$id":"1470","isReadOnly":false,"realPath":["value"],"collectionFormat":"none","defaultValue":{"$id":"1471","fixed":false},"deprecated":false,"documentation":{"$id":"1472","fixed":false,"raw":"body parameter value."},"isRequired":true,"isConstant":false,"name":{"$id":"1473","fixed":false,"raw":"value"},"serializedName":"value","modelType":{"$id":"1474","$type":"PrimaryType","knownPrimaryType":"string","name":{"$id":"1475","fixed":false,"raw":"String"},"deprecated":false}}],"serializedName":"TokenBodyParameterContract","documentation":"OAuth acquire token request body parameter (www-url-form-encoded).","containsConstantProperties":false,"name":{"$id":"1476","fixed":false,"raw":"TokenBodyParameterContract"},"deprecated":false},"name":{"$id":"1477","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"1634","$type":"SequenceType","elementType":{"$ref":"1540"},"name":{"$id":"1635","fixed":false},"deprecated":false}
|
||||
'/properties/tokenBodyParameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
'/properties/tokenBodyParameters/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Value
|
||||
'/tokenEndpoint': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: token_endpoint
|
||||
|
@ -203,10 +215,22 @@ objects:
|
|||
'/tokenBodyParameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [python]
|
||||
python_field_name: token_body_parameters
|
||||
'/tokenBodyParameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: name
|
||||
'/tokenBodyParameters/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: value
|
||||
'/properties/tokenBodyParameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: TokenBodyParameters
|
||||
go_type_name: {"$id":"1462","$type":"SequenceType","elementType":{"$id":"1463","$type":"CompositeType","properties":[{"$id":"1464","isReadOnly":false,"realPath":["name"],"collectionFormat":"none","defaultValue":{"$id":"1465","fixed":false},"deprecated":false,"documentation":{"$id":"1466","fixed":false,"raw":"body parameter name."},"isRequired":true,"isConstant":false,"name":{"$id":"1467","fixed":false,"raw":"name"},"serializedName":"name","modelType":{"$id":"1468","$type":"PrimaryType","knownPrimaryType":"string","name":{"$id":"1469","fixed":false,"raw":"String"},"deprecated":false}},{"$id":"1470","isReadOnly":false,"realPath":["value"],"collectionFormat":"none","defaultValue":{"$id":"1471","fixed":false},"deprecated":false,"documentation":{"$id":"1472","fixed":false,"raw":"body parameter value."},"isRequired":true,"isConstant":false,"name":{"$id":"1473","fixed":false,"raw":"value"},"serializedName":"value","modelType":{"$id":"1474","$type":"PrimaryType","knownPrimaryType":"string","name":{"$id":"1475","fixed":false,"raw":"String"},"deprecated":false}}],"serializedName":"TokenBodyParameterContract","documentation":"OAuth acquire token request body parameter (www-url-form-encoded).","containsConstantProperties":false,"name":{"$id":"1476","fixed":false,"raw":"TokenBodyParameterContract"},"deprecated":false},"name":{"$id":"1477","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"1634","$type":"SequenceType","elementType":{"$ref":"1540"},"name":{"$id":"1635","fixed":false},"deprecated":false}
|
||||
'/properties/tokenBodyParameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
'/properties/tokenBodyParameters/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Value
|
||||
'/tokenEndpoint': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: token_endpoint
|
||||
|
@ -384,6 +408,17 @@ objects:
|
|||
description: 'Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {"name" : "name value", "value": "a value"}.'
|
||||
required: false
|
||||
azure_sdk_references: ['/tokenBodyParameters', '/properties/tokenBodyParameters']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'name'
|
||||
description: 'body parameter name.'
|
||||
required: true
|
||||
azure_sdk_references: ['/tokenBodyParameters/name', '/properties/tokenBodyParameters/name']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'value'
|
||||
description: 'body parameter value.'
|
||||
required: true
|
||||
azure_sdk_references: ['/tokenBodyParameters/value', '/properties/tokenBodyParameters/value']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'tokenEndpoint'
|
||||
description: 'OAuth token endpoint. Contains absolute URI to entity being referenced.'
|
||||
|
|
|
@ -33,11 +33,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'backendid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'backendId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: backends
|
||||
go_variable_name: Backendid
|
||||
python_parameter_name: backendid
|
||||
python_variable_name: backendid
|
||||
go_variable_name: BackendID
|
||||
python_parameter_name: backend_id
|
||||
python_variable_name: backend_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: BackendContract
|
||||
|
@ -112,7 +112,7 @@ objects:
|
|||
'/properties/properties/serviceFabricCluster/serverX509Names': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ServerX509names
|
||||
go_type_name: {"$id":"1653","$type":"SequenceType","elementType":{"$ref":"1606"},"name":{"$id":"1654","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"1893","$type":"SequenceType","elementType":{"$ref":"1846"},"name":{"$id":"1894","fixed":false},"deprecated":false}
|
||||
'/properties/properties/serviceFabricCluster/serverX509Names/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
|
@ -244,11 +244,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'backendid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'backendId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: backends
|
||||
go_variable_name: Backendid
|
||||
python_parameter_name: backendid
|
||||
python_variable_name: backendid
|
||||
go_variable_name: BackendID
|
||||
python_parameter_name: backend_id
|
||||
python_variable_name: backend_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: BackendContract
|
||||
|
@ -323,7 +323,7 @@ objects:
|
|||
'/properties/properties/serviceFabricCluster/serverX509Names': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ServerX509names
|
||||
go_type_name: {"$id":"1653","$type":"SequenceType","elementType":{"$ref":"1606"},"name":{"$id":"1654","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"1893","$type":"SequenceType","elementType":{"$ref":"1846"},"name":{"$id":"1894","fixed":false},"deprecated":false}
|
||||
'/properties/properties/serviceFabricCluster/serverX509Names/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Name
|
||||
|
@ -455,11 +455,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'backendid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'backendId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: backends
|
||||
go_variable_name: Backendid
|
||||
python_parameter_name: backendid
|
||||
python_variable_name: backendid
|
||||
go_variable_name: BackendID
|
||||
python_parameter_name: backend_id
|
||||
python_variable_name: backend_id
|
||||
read: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Get
|
||||
python_func_name: get
|
||||
|
@ -474,11 +474,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'backendid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'backendId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: backends
|
||||
go_variable_name: Backendid
|
||||
python_parameter_name: backendid
|
||||
python_variable_name: backendid
|
||||
go_variable_name: BackendID
|
||||
python_parameter_name: backend_id
|
||||
python_variable_name: backend_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -508,12 +508,12 @@ objects:
|
|||
sample_value: myService
|
||||
azure_sdk_references: ['serviceName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'backendid'
|
||||
name: 'backendId'
|
||||
description: 'Identifier of the Backend entity. Must be unique in the current API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myBackend
|
||||
azure_sdk_references: ['backendid']
|
||||
azure_sdk_references: ['backendId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'title'
|
||||
description: 'Backend Title.'
|
||||
|
|
|
@ -5,6 +5,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
backendid: myBackend
|
||||
backend_id: myBackend
|
||||
state: absent
|
||||
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
backendid: myBackend
|
||||
backend_id: myBackend
|
||||
description: description5308
|
||||
tls:
|
||||
validate_certificate_chain: false
|
||||
|
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
backendid: myBackend
|
||||
backend_id: myBackend
|
||||
description: Service Fabric Test App 1
|
||||
service_fabric_cluster:
|
||||
client_certificatethumbprint: EBA029198AA3E76EF0D70482626E5BCF148594A6
|
||||
|
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
backendid: myBackend
|
||||
backend_id: myBackend
|
||||
description: description5308
|
||||
credentials:
|
||||
query:
|
||||
|
|
|
@ -0,0 +1,224 @@
|
|||
--- !ruby/object:Api::Product
|
||||
name: Azure Cache Management
|
||||
prefix: azure_rm_apimanagementcache
|
||||
versions:
|
||||
- !ruby/object:Api::Product::Version
|
||||
name: ga
|
||||
base_url: NotUsedInAzure
|
||||
scopes:
|
||||
- NotUsedInAzure
|
||||
objects:
|
||||
- !ruby/object:Api::Resource
|
||||
name: Cache
|
||||
api_name: ApiManagement
|
||||
base_url: NotUsedInAzure
|
||||
|
||||
azure_sdk_definition: !ruby/object:Api::Azure::SDKDefinition
|
||||
provider_name: Microsoft.ApiManagement
|
||||
go_client_namespace: apimanagement
|
||||
go_client: cacheClient
|
||||
python_client_namespace: azure.mgmt.apimanagement
|
||||
python_client: ApiManagementClient.cache
|
||||
create: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: CreateOrUpdate
|
||||
python_func_name: create_or_update
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'cacheId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: caches
|
||||
go_variable_name: CacheID
|
||||
python_parameter_name: cache_id
|
||||
python_variable_name: cache_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: CacheContract
|
||||
python_parameter_name: parameters
|
||||
python_variable_name: parameters
|
||||
'/properties': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: CacheContractProperties
|
||||
'/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: description
|
||||
'/properties/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Description
|
||||
'/connectionString': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: connection_string
|
||||
'/properties/connectionString': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ConnectionString
|
||||
'/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: resource_id
|
||||
'/properties/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ResourceID
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
python_field_name: id
|
||||
'/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Name
|
||||
python_field_name: name
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Type
|
||||
python_field_name: type
|
||||
update: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Update
|
||||
python_func_name: update
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'cacheId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: caches
|
||||
go_variable_name: CacheID
|
||||
python_parameter_name: cache_id
|
||||
python_variable_name: cache_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: CacheContract
|
||||
python_parameter_name: parameters
|
||||
python_variable_name: parameters
|
||||
'/properties': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: CacheContractProperties
|
||||
'/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: description
|
||||
'/properties/description': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Description
|
||||
'/connectionString': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: connection_string
|
||||
'/properties/connectionString': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ConnectionString
|
||||
'/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: resource_id
|
||||
'/properties/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ResourceID
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
python_field_name: id
|
||||
'/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Name
|
||||
python_field_name: name
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Type
|
||||
python_field_name: type
|
||||
delete: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Delete
|
||||
python_func_name: delete
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'cacheId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: caches
|
||||
go_variable_name: CacheID
|
||||
python_parameter_name: cache_id
|
||||
python_variable_name: cache_id
|
||||
read: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Get
|
||||
python_func_name: get
|
||||
request:
|
||||
'resourceGroupName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: resourceGroups
|
||||
go_variable_name: resourceGroup
|
||||
python_parameter_name: resource_group_name
|
||||
python_variable_name: resource_group
|
||||
'serviceName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: service
|
||||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'cacheId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: caches
|
||||
go_variable_name: CacheID
|
||||
python_parameter_name: cache_id
|
||||
python_variable_name: cache_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
python_field_name: id
|
||||
'/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Name
|
||||
python_field_name: name
|
||||
'/type': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: Type
|
||||
python_field_name: type
|
||||
|
||||
description: |
|
||||
Manage Azure Cache instance.
|
||||
properties:
|
||||
- !ruby/object:Api::Azure::Type::ResourceGroupName
|
||||
name: 'resourceGroup'
|
||||
description: 'The name of the resource group.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myResourceGroup
|
||||
azure_sdk_references: ['resourceGroupName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'name'
|
||||
description: 'The name of the API Management service.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myService
|
||||
azure_sdk_references: ['serviceName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'cacheId'
|
||||
description: 'Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier).'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myCache
|
||||
azure_sdk_references: ['cacheId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'description'
|
||||
description: 'Cache description'
|
||||
required: false
|
||||
sample_value: Update Cache in west India
|
||||
azure_sdk_references: ['/description', '/properties/description']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'connectionString'
|
||||
description: 'Runtime connection string to cache'
|
||||
required: true
|
||||
sample_value: contoso5.redis.cache.windows.net,ssl=true,password=...
|
||||
azure_sdk_references: ['/connectionString', '/properties/connectionString']
|
||||
- !ruby/object:Api::Type::ResourceReference
|
||||
name: 'resourceId'
|
||||
description: 'Original uri of entity in external system cache points to'
|
||||
required: false
|
||||
sample_value: /subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group }}/providers/Microsoft.Cache/Redis/{{ name }}
|
||||
azure_sdk_references: ['/resourceId', '/properties/resourceId']
|
|
@ -0,0 +1,10 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementcache
|
||||
description: ApiManagementDeleteCache
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
cache_id: myCache
|
||||
state: absent
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementcache
|
||||
description: ApiManagementUpdateCache
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
cache_id: myCache
|
||||
description: Update Cache in west India
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementcache
|
||||
description: ApiManagementCreateCache
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
cache_id: myCache
|
||||
description: Redis cache instances in West India
|
||||
connection_string: 'contoso5.redis.cache.windows.net,ssl=true,password=...'
|
||||
resource_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.Cache/Redis/{{ redis_name }}
|
||||
|
|
@ -47,12 +47,163 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: DiagnosticContractProperties
|
||||
'/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
'/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enabled
|
||||
'/properties/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
python_field_name: always_log
|
||||
'/properties/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Enabled
|
||||
go_field_name: AlwaysLog
|
||||
go_enum_type_name: AlwaysLog
|
||||
'/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: logger_id
|
||||
'/properties/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: LoggerID
|
||||
'/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling
|
||||
'/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling_type
|
||||
'/sampling/percentage':
|
||||
applicable_to: [python]
|
||||
python_field_name: percentage
|
||||
'/properties/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Sampling
|
||||
go_type_name: SamplingSettings
|
||||
'/properties/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SamplingType
|
||||
go_enum_type_name: SamplingType
|
||||
'/properties/sampling/percentage':
|
||||
applicable_to: [go]
|
||||
go_field_name: Percentage
|
||||
'/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: frontend
|
||||
'/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Frontend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: backend
|
||||
'/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Backend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_http_correlation_headers
|
||||
'/properties/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableHttpCorrelationHeaders
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -91,12 +242,163 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: DiagnosticContractProperties
|
||||
'/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
'/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enabled
|
||||
'/properties/enabled': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
python_field_name: always_log
|
||||
'/properties/alwaysLog': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Enabled
|
||||
go_field_name: AlwaysLog
|
||||
go_enum_type_name: AlwaysLog
|
||||
'/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: logger_id
|
||||
'/properties/loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: LoggerID
|
||||
'/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling
|
||||
'/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: sampling_type
|
||||
'/sampling/percentage':
|
||||
applicable_to: [python]
|
||||
python_field_name: percentage
|
||||
'/properties/sampling': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Sampling
|
||||
go_type_name: SamplingSettings
|
||||
'/properties/sampling/samplingType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: SamplingType
|
||||
go_enum_type_name: SamplingType
|
||||
'/properties/sampling/percentage':
|
||||
applicable_to: [go]
|
||||
go_field_name: Percentage
|
||||
'/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: frontend
|
||||
'/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/frontend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/frontend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Frontend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/frontend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/frontend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/frontend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/frontend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/frontend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: backend
|
||||
'/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: request
|
||||
'/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/request/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: response
|
||||
'/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: headers
|
||||
'/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [python]
|
||||
python_field_name: body
|
||||
'/backend/response/body/bytes':
|
||||
applicable_to: [python]
|
||||
python_field_name: bytes
|
||||
'/properties/backend': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Backend
|
||||
go_type_name: PipelineDiagnosticSettings
|
||||
'/properties/backend/request': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Request
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/request/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/request/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/request/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/properties/backend/response': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Response
|
||||
go_type_name: HttpMessageDiagnostic
|
||||
'/properties/backend/response/headers': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Headers
|
||||
'/properties/backend/response/body': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Body
|
||||
go_type_name: BodyDiagnosticSettings
|
||||
'/properties/backend/response/body/bytes':
|
||||
applicable_to: [go]
|
||||
go_field_name: Bytes
|
||||
'/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_http_correlation_headers
|
||||
'/properties/enableHttpCorrelationHeaders': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableHttpCorrelationHeaders
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -180,8 +482,150 @@ objects:
|
|||
input: true
|
||||
sample_value: myDiagnostic
|
||||
azure_sdk_references: ['diagnosticId']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'enabled'
|
||||
description: 'Indicates whether a diagnostic should receive data or not.'
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'alwaysLog'
|
||||
description: 'Specifies for what type of messages sampling settings should not apply.'
|
||||
required: false
|
||||
values:
|
||||
- :allErrors
|
||||
sample_value: allErrors
|
||||
azure_sdk_references: ['/alwaysLog', '/properties/alwaysLog']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'loggerId'
|
||||
description: 'Resource Id of a target logger.'
|
||||
required: true
|
||||
azure_sdk_references: ['/enabled', '/properties/enabled']
|
||||
sample_value: /loggers/applicationinsights
|
||||
azure_sdk_references: ['/loggerId', '/properties/loggerId']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'sampling'
|
||||
description: 'Sampling settings for Diagnostic.'
|
||||
required: false
|
||||
azure_sdk_references: ['/sampling', '/properties/sampling']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'samplingType'
|
||||
description: 'Sampling type.'
|
||||
required: false
|
||||
values:
|
||||
- :fixed
|
||||
sample_value: fixed
|
||||
azure_sdk_references: ['/sampling/samplingType', '/properties/sampling/samplingType']
|
||||
-
|
||||
name: 'percentage'
|
||||
description: 'Rate of sampling for fixed-rate sampling.'
|
||||
required: false
|
||||
sample_value: 50
|
||||
azure_sdk_references: ['/sampling/percentage', '/properties/sampling/percentage']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'frontend'
|
||||
description: 'Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend', '/properties/frontend']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'request'
|
||||
description: 'Diagnostic settings for request.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/request', '/properties/frontend/request']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/frontend/request/headers', '/properties/frontend/request/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/request/body', '/properties/frontend/request/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/frontend/request/body/bytes', '/properties/frontend/request/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'response'
|
||||
description: 'Diagnostic settings for response.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/response', '/properties/frontend/response']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/frontend/response/headers', '/properties/frontend/response/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/frontend/response/body', '/properties/frontend/response/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/frontend/response/body/bytes', '/properties/frontend/response/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'backend'
|
||||
description: 'Diagnostic settings for incoming/outgoing HTTP messages to the Backend'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend', '/properties/backend']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'request'
|
||||
description: 'Diagnostic settings for request.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/request', '/properties/backend/request']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/backend/request/headers', '/properties/backend/request/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/request/body', '/properties/backend/request/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/backend/request/body/bytes', '/properties/backend/request/body/bytes']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'response'
|
||||
description: 'Diagnostic settings for response.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/response', '/properties/backend/response']
|
||||
properties:
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'headers'
|
||||
description: 'Array of HTTP Headers to log.'
|
||||
required: false
|
||||
sample_value: Content-type
|
||||
azure_sdk_references: ['/backend/response/headers', '/properties/backend/response/headers']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'body'
|
||||
description: 'Body logging settings.'
|
||||
required: false
|
||||
azure_sdk_references: ['/backend/response/body', '/properties/backend/response/body']
|
||||
properties:
|
||||
-
|
||||
name: 'bytes'
|
||||
description: 'Number of request body bytes to log.'
|
||||
required: false
|
||||
sample_value: 512
|
||||
azure_sdk_references: ['/backend/response/body/bytes', '/properties/backend/response/body/bytes']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'enableHttpCorrelationHeaders'
|
||||
description: 'Whether to process Correlation Headers coming to Api Management Service. Only applicable to Application Insights diagnostics. Default is true.'
|
||||
required: false
|
||||
azure_sdk_references: ['/enableHttpCorrelationHeaders', '/properties/enableHttpCorrelationHeaders']
|
|
@ -6,5 +6,31 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
diagnostic_id: myDiagnostic
|
||||
enabled: false
|
||||
always_log: allErrors
|
||||
logger_id: /loggers/applicationinsights
|
||||
sampling:
|
||||
sampling_type: fixed
|
||||
percentage: '50'
|
||||
frontend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
backend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
|
|
@ -6,5 +6,31 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
diagnostic_id: myDiagnostic
|
||||
enabled: true
|
||||
always_log: allErrors
|
||||
logger_id: /loggers/azuremonitor
|
||||
sampling:
|
||||
sampling_type: fixed
|
||||
percentage: '50'
|
||||
frontend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
backend:
|
||||
request:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
response:
|
||||
headers:
|
||||
- Content-type
|
||||
body:
|
||||
bytes: '512'
|
||||
|
|
@ -40,7 +40,7 @@ objects:
|
|||
python_variable_name: name
|
||||
'/properties/parameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
go_field_name: Parameters
|
||||
go_type_name: {"$id":"2686","$type":"SequenceType","elementType":{"$ref":"2579"},"name":{"$id":"2687","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2812","$type":"SequenceType","elementType":{"$ref":"2763"},"name":{"$id":"2813","fixed":false},"deprecated":false}
|
||||
python_field_name: parameters
|
||||
'/parameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
|
@ -91,7 +91,7 @@ objects:
|
|||
python_variable_name: name
|
||||
'/properties/parameters': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
go_field_name: Parameters
|
||||
go_type_name: {"$id":"2686","$type":"SequenceType","elementType":{"$ref":"2579"},"name":{"$id":"2687","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2812","$type":"SequenceType","elementType":{"$ref":"2763"},"name":{"$id":"2813","fixed":false},"deprecated":false}
|
||||
python_field_name: parameters
|
||||
'/parameters/name': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
|
|
|
@ -242,7 +242,7 @@ objects:
|
|||
azure_sdk_references: ['/type', '/properties/type']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'externalId'
|
||||
description: 'Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://<tenant>.onmicrosoft.com/groups/<group object id>; otherwise the value is null.'
|
||||
description: 'Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory `aad://<tenant>.onmicrosoft.com/groups/<group object id>`; otherwise the value is null.'
|
||||
required: false
|
||||
sample_value: aad://samiraad.onmicrosoft.com/groups/83cf2753-5831-4675-bc0e-2f8dc067c58d
|
||||
azure_sdk_references: ['/externalId', '/properties/externalId']
|
|
@ -38,11 +38,11 @@ objects:
|
|||
go_variable_name: GroupID
|
||||
python_parameter_name: group_id
|
||||
python_variable_name: group_id
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -72,11 +72,11 @@ objects:
|
|||
go_variable_name: GroupID
|
||||
python_parameter_name: group_id
|
||||
python_variable_name: group_id
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
|
||||
description: |
|
||||
Manage Azure GroupUser instance.
|
||||
|
@ -103,9 +103,9 @@ objects:
|
|||
sample_value: myGroup
|
||||
azure_sdk_references: ['groupId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'uid'
|
||||
name: 'userId'
|
||||
description: 'User identifier. Must be unique in the current API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myUser
|
||||
azure_sdk_references: ['uid']
|
||||
azure_sdk_references: ['userId']
|
|
@ -6,6 +6,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
group_id: myGroup
|
||||
uid: myUser
|
||||
user_id: myUser
|
||||
state: absent
|
||||
|
|
@ -6,5 +6,5 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
group_id: myGroup
|
||||
uid: myUser
|
||||
user_id: myUser
|
||||
|
|
@ -60,6 +60,12 @@ objects:
|
|||
'/properties/allowedTenants': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AllowedTenants
|
||||
'/authority': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authority
|
||||
'/properties/authority': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Authority
|
||||
'/signupPolicyName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: signup_policy_name
|
||||
|
@ -147,6 +153,12 @@ objects:
|
|||
'/properties/allowedTenants': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AllowedTenants
|
||||
'/authority': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: authority
|
||||
'/properties/authority': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Authority
|
||||
'/signupPolicyName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: signup_policy_name
|
||||
|
@ -283,6 +295,11 @@ objects:
|
|||
description: 'List of Allowed Tenants when configuring Azure Active Directory login.'
|
||||
required: false
|
||||
azure_sdk_references: ['/allowedTenants', '/properties/allowedTenants']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'authority'
|
||||
description: 'OpenID Connect discovery endpoint hostname for AAD or AAD B2C.'
|
||||
required: false
|
||||
azure_sdk_references: ['/authority', '/properties/authority']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'signupPolicyName'
|
||||
description: 'Signup Policy Name. Only applies to AAD B2C Identity Provider.'
|
||||
|
|
|
@ -33,11 +33,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'loggerid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: loggers
|
||||
go_variable_name: Loggerid
|
||||
python_parameter_name: loggerid
|
||||
python_variable_name: loggerid
|
||||
go_variable_name: LoggerID
|
||||
python_parameter_name: logger_id
|
||||
python_variable_name: logger_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: LoggerContract
|
||||
|
@ -72,6 +72,12 @@ objects:
|
|||
'/properties/isBuffered': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: IsBuffered
|
||||
'/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: resource_id
|
||||
'/properties/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ResourceID
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -96,11 +102,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'loggerid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: loggers
|
||||
go_variable_name: Loggerid
|
||||
python_parameter_name: loggerid
|
||||
python_variable_name: loggerid
|
||||
go_variable_name: LoggerID
|
||||
python_parameter_name: logger_id
|
||||
python_variable_name: logger_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: LoggerContract
|
||||
|
@ -135,6 +141,12 @@ objects:
|
|||
'/properties/isBuffered': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: IsBuffered
|
||||
'/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: resource_id
|
||||
'/properties/resourceId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ResourceID
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -159,11 +171,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'loggerid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: loggers
|
||||
go_variable_name: Loggerid
|
||||
python_parameter_name: loggerid
|
||||
python_variable_name: loggerid
|
||||
go_variable_name: LoggerID
|
||||
python_parameter_name: logger_id
|
||||
python_variable_name: logger_id
|
||||
read: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Get
|
||||
python_func_name: get
|
||||
|
@ -178,11 +190,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'loggerid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'loggerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: loggers
|
||||
go_variable_name: Loggerid
|
||||
python_parameter_name: loggerid
|
||||
python_variable_name: loggerid
|
||||
go_variable_name: LoggerID
|
||||
python_parameter_name: logger_id
|
||||
python_variable_name: logger_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -212,12 +224,12 @@ objects:
|
|||
sample_value: myService
|
||||
azure_sdk_references: ['serviceName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'loggerid'
|
||||
name: 'loggerId'
|
||||
description: 'Logger identifier. Must be unique in the API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myLogger
|
||||
azure_sdk_references: ['loggerid']
|
||||
azure_sdk_references: ['loggerId']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'loggerType'
|
||||
description: 'Logger type.'
|
||||
|
@ -244,4 +256,9 @@ Instrumentation key for applicationInsights logger.'
|
|||
name: 'isBuffered'
|
||||
description: 'Whether records are buffered in the logger before publishing. Default is assumed to be true.'
|
||||
required: false
|
||||
azure_sdk_references: ['/isBuffered', '/properties/isBuffered']
|
||||
azure_sdk_references: ['/isBuffered', '/properties/isBuffered']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'resourceId'
|
||||
description: 'Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).'
|
||||
required: false
|
||||
azure_sdk_references: ['/resourceId', '/properties/resourceId']
|
|
@ -5,6 +5,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
loggerid: myLogger
|
||||
logger_id: myLogger
|
||||
state: absent
|
||||
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
loggerid: myLogger
|
||||
logger_id: myLogger
|
||||
credentials:
|
||||
name: hydraeventhub
|
||||
connectionString: >-
|
||||
|
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
loggerid: myLogger
|
||||
logger_id: myLogger
|
||||
logger_type: azureEventHub
|
||||
description: adding a new logger
|
||||
credentials:
|
||||
|
|
|
@ -5,7 +5,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
loggerid: myLogger
|
||||
logger_id: myLogger
|
||||
logger_type: applicationInsights
|
||||
description: adding a new logger
|
||||
credentials:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementnotification
|
||||
description: ApiManagementGetNotification
|
||||
description: ApiManagementCreateNotification
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
service_name: myService
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementnotificationrecipientemail
|
||||
description: ApiManagementCreateRecipientEmail
|
||||
description: ApiManagementCreateNotificationRecipientEmail
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
service_name: myService
|
||||
|
|
|
@ -38,11 +38,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: notification_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: recipientUsers
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -72,11 +72,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: notification_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: recipientUsers
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
|
||||
description: |
|
||||
Manage Azure NotificationRecipientUser instance.
|
||||
|
@ -103,9 +103,9 @@ objects:
|
|||
sample_value: myNotification
|
||||
azure_sdk_references: ['notificationName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'uid'
|
||||
name: 'userId'
|
||||
description: 'User identifier. Must be unique in the current API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myRecipientUser
|
||||
azure_sdk_references: ['uid']
|
||||
azure_sdk_references: ['userId']
|
|
@ -6,6 +6,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
service_name: myService
|
||||
name: myNotification
|
||||
uid: myRecipientUser
|
||||
user_id: myRecipientUser
|
||||
state: absent
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementnotificationrecipientuser
|
||||
description: ApiManagementCreateRecipientUser
|
||||
description: ApiManagementCreateNotificationRecipientUser
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
service_name: myService
|
||||
name: myNotification
|
||||
uid: myRecipientUser
|
||||
user_id: myRecipientUser
|
||||
|
|
@ -47,18 +47,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: PolicyContractProperties
|
||||
'/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: policy_content
|
||||
'/properties/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: PolicyContent
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
|
@ -108,6 +108,10 @@ objects:
|
|||
go_variable_name: PolicyID
|
||||
python_parameter_name: policy_id
|
||||
python_variable_name: policy_id
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
python_field_name: format
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -144,8 +148,8 @@ objects:
|
|||
sample_value: myPolicy
|
||||
azure_sdk_references: ['policyId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'policyContent'
|
||||
description: 'Json escaped Xml Encoded contents of the Policy.'
|
||||
name: 'value'
|
||||
description: 'Contents of the Policy as defined by the format.'
|
||||
required: true
|
||||
sample_value: <policies>
|
||||
<inbound />
|
||||
|
@ -154,9 +158,9 @@ objects:
|
|||
</backend>
|
||||
<outbound />
|
||||
</policies>
|
||||
azure_sdk_references: ['/policyContent', '/properties/policyContent']
|
||||
azure_sdk_references: ['/value', '/properties/value']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'contentFormat'
|
||||
name: 'format'
|
||||
description: 'Format of the policyContent.'
|
||||
required: false
|
||||
values:
|
||||
|
@ -165,4 +169,4 @@ objects:
|
|||
- :rawxml
|
||||
- :rawxml-link
|
||||
sample_value: xml
|
||||
azure_sdk_references: ['/contentFormat', '/properties/contentFormat']
|
||||
azure_sdk_references: ['/format', '/properties/format']
|
|
@ -6,6 +6,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
policy_id: myPolicy
|
||||
policy_content: "<policies>\r\n <inbound />\r\n <backend>\r\n <forward-request />\r\n </backend>\r\n <outbound />\r\n</policies>"
|
||||
content_format: xml
|
||||
value: "<policies>\r\n <inbound />\r\n <backend>\r\n <forward-request />\r\n </backend>\r\n <outbound />\r\n</policies>"
|
||||
format: xml
|
||||
|
|
@ -271,12 +271,12 @@ objects:
|
|||
azure_sdk_references: ['/subscriptionRequired', '/properties/subscriptionRequired']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'approvalRequired'
|
||||
description: 'whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.'
|
||||
description: 'whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.'
|
||||
required: false
|
||||
azure_sdk_references: ['/approvalRequired', '/properties/approvalRequired']
|
||||
-
|
||||
name: 'subscriptionsLimit'
|
||||
description: 'Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.'
|
||||
description: 'Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.'
|
||||
required: false
|
||||
azure_sdk_references: ['/subscriptionsLimit', '/properties/subscriptionsLimit']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementproduct
|
||||
description: ApiManagementUpdateProductBasic
|
||||
description: ApiManagementUpdateProduct
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementproduct
|
||||
description: ApiManagementCreateProductBasic
|
||||
description: ApiManagementCreateProduct
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
|
|
|
@ -52,18 +52,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: PolicyContractProperties
|
||||
'/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: policy_content
|
||||
'/properties/policyContent': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: value
|
||||
'/properties/value': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: PolicyContent
|
||||
'/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Value
|
||||
'/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: content_format
|
||||
'/properties/contentFormat': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
python_field_name: format
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ContentFormat
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
|
@ -123,6 +123,10 @@ objects:
|
|||
go_variable_name: PolicyID
|
||||
python_parameter_name: policy_id
|
||||
python_variable_name: policy_id
|
||||
'/properties/format': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
go_field_name: Format
|
||||
go_enum_type_name: PolicyContentFormat
|
||||
python_field_name: format
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -166,8 +170,8 @@ objects:
|
|||
sample_value: myPolicy
|
||||
azure_sdk_references: ['policyId']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'policyContent'
|
||||
description: 'Json escaped Xml Encoded contents of the Policy.'
|
||||
name: 'value'
|
||||
description: 'Contents of the Policy as defined by the format.'
|
||||
required: true
|
||||
sample_value: <policies>
|
||||
<inbound>
|
||||
|
@ -185,9 +189,9 @@ objects:
|
|||
<base />
|
||||
</outbound>
|
||||
</policies>
|
||||
azure_sdk_references: ['/policyContent', '/properties/policyContent']
|
||||
azure_sdk_references: ['/value', '/properties/value']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'contentFormat'
|
||||
name: 'format'
|
||||
description: 'Format of the policyContent.'
|
||||
required: false
|
||||
values:
|
||||
|
@ -196,4 +200,4 @@ objects:
|
|||
- :rawxml
|
||||
- :rawxml-link
|
||||
sample_value: xml
|
||||
azure_sdk_references: ['/contentFormat', '/properties/contentFormat']
|
||||
azure_sdk_references: ['/format', '/properties/format']
|
|
@ -7,6 +7,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
name: myService
|
||||
product_id: myProduct
|
||||
policy_id: myPolicy
|
||||
policy_content: "<policies>\r\n <inbound>\r\n <rate-limit calls=\"{{call-count}}\" renewal-period=\"15\"></rate-limit>\r\n <log-to-eventhub logger-id=\"16\">\r\n @( string.Join(\",\", DateTime.UtcNow, context.Deployment.ServiceName, context.RequestId, context.Request.IpAddress, context.Operation.Name) ) \r\n </log-to-eventhub>\r\n <quota-by-key calls=\"40\" counter-key=\"cc\" renewal-period=\"3600\" increment-count=\"@(context.Request.Method == "POST" ? 1:2)\" />\r\n <base />\r\n </inbound>\r\n <backend>\r\n <base />\r\n </backend>\r\n <outbound>\r\n <base />\r\n </outbound>\r\n</policies>"
|
||||
content_format: xml
|
||||
value: "<policies>\r\n <inbound>\r\n <rate-limit calls=\"{{call-count}}\" renewal-period=\"15\"></rate-limit>\r\n <log-to-eventhub logger-id=\"16\">\r\n @( string.Join(\",\", DateTime.UtcNow, context.Deployment.ServiceName, context.RequestId, context.Request.IpAddress, context.Operation.Name) ) \r\n </log-to-eventhub>\r\n <quota-by-key calls=\"40\" counter-key=\"cc\" renewal-period=\"3600\" increment-count=\"@(context.Request.Method == "POST" ? 1:2)\" />\r\n <base />\r\n </inbound>\r\n <backend>\r\n <base />\r\n </backend>\r\n <outbound>\r\n <base />\r\n </outbound>\r\n</policies>"
|
||||
format: xml
|
||||
|
|
@ -91,7 +91,7 @@ objects:
|
|||
'/properties/hostnameConfigurations': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: HostnameConfigurations
|
||||
go_type_name: {"$id":"2241","$type":"SequenceType","elementType":{"$ref":"2019"},"name":{"$id":"2242","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2467","$type":"SequenceType","elementType":{"$ref":"2244"},"name":{"$id":"2468","fixed":false},"deprecated":false}
|
||||
'/properties/hostnameConfigurations/type': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Type
|
||||
|
@ -164,7 +164,7 @@ objects:
|
|||
'/properties/additionalLocations': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AdditionalLocations
|
||||
go_type_name: {"$id":"2267","$type":"SequenceType","elementType":{"$ref":"2105"},"name":{"$id":"2268","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2493","$type":"SequenceType","elementType":{"$ref":"2331"},"name":{"$id":"2494","fixed":false},"deprecated":false}
|
||||
'/properties/additionalLocations/location': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Location
|
||||
|
@ -219,7 +219,7 @@ objects:
|
|||
'/properties/certificates': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Certificates
|
||||
go_type_name: {"$id":"2281","$type":"SequenceType","elementType":{"$ref":"1991"},"name":{"$id":"2282","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2507","$type":"SequenceType","elementType":{"$ref":"2216"},"name":{"$id":"2508","fixed":false},"deprecated":false}
|
||||
'/properties/certificates/encodedCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EncodedCertificate
|
||||
|
@ -243,6 +243,12 @@ objects:
|
|||
'/properties/certificates/certificate/subject': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Subject
|
||||
'/enableClientCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_client_certificate
|
||||
'/properties/enableClientCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableClientCertificate
|
||||
'/virtualNetworkType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: virtual_network_type
|
||||
|
@ -368,7 +374,7 @@ objects:
|
|||
'/properties/hostnameConfigurations': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: HostnameConfigurations
|
||||
go_type_name: {"$id":"2241","$type":"SequenceType","elementType":{"$ref":"2019"},"name":{"$id":"2242","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2467","$type":"SequenceType","elementType":{"$ref":"2244"},"name":{"$id":"2468","fixed":false},"deprecated":false}
|
||||
'/properties/hostnameConfigurations/type': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Type
|
||||
|
@ -441,7 +447,7 @@ objects:
|
|||
'/properties/additionalLocations': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AdditionalLocations
|
||||
go_type_name: {"$id":"2267","$type":"SequenceType","elementType":{"$ref":"2105"},"name":{"$id":"2268","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2493","$type":"SequenceType","elementType":{"$ref":"2331"},"name":{"$id":"2494","fixed":false},"deprecated":false}
|
||||
'/properties/additionalLocations/location': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Location
|
||||
|
@ -496,7 +502,7 @@ objects:
|
|||
'/properties/certificates': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Certificates
|
||||
go_type_name: {"$id":"2281","$type":"SequenceType","elementType":{"$ref":"1991"},"name":{"$id":"2282","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2507","$type":"SequenceType","elementType":{"$ref":"2216"},"name":{"$id":"2508","fixed":false},"deprecated":false}
|
||||
'/properties/certificates/encodedCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EncodedCertificate
|
||||
|
@ -520,6 +526,12 @@ objects:
|
|||
'/properties/certificates/certificate/subject': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Subject
|
||||
'/enableClientCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: enable_client_certificate
|
||||
'/properties/enableClientCertificate': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: EnableClientCertificate
|
||||
'/virtualNetworkType': !ruby/object:Api::Azure::SDKTypeDefinition::EnumObject
|
||||
applicable_to: [python]
|
||||
python_field_name: virtual_network_type
|
||||
|
@ -574,6 +586,7 @@ objects:
|
|||
go_field_name: Etag
|
||||
python_field_name: etag
|
||||
delete: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
async: true
|
||||
go_func_name: Delete
|
||||
python_func_name: delete
|
||||
request:
|
||||
|
@ -659,6 +672,7 @@ objects:
|
|||
- :Portal
|
||||
- :Management
|
||||
- :Scm
|
||||
- :DeveloperPortal
|
||||
sample_value: Portal
|
||||
azure_sdk_references: ['/hostnameConfigurations/type', '/properties/hostnameConfigurations/type']
|
||||
- !ruby/object:Api::Type::String
|
||||
|
@ -739,7 +753,7 @@ objects:
|
|||
description: 'The location name of the additional region among Azure Data center regions.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: West US
|
||||
sample_value: North Europe
|
||||
azure_sdk_references: ['/additionalLocations/location', '/properties/additionalLocations/location']
|
||||
- !ruby/object:Api::Type::NestedObject
|
||||
name: 'sku'
|
||||
|
@ -756,6 +770,7 @@ objects:
|
|||
- :Standard
|
||||
- :Premium
|
||||
- :Basic
|
||||
- :Consumption
|
||||
sample_value: Premium
|
||||
azure_sdk_references: ['/additionalLocations/sku/name', '/properties/additionalLocations/sku/name']
|
||||
-
|
||||
|
@ -792,13 +807,13 @@ objects:
|
|||
name: 'encodedCertificate'
|
||||
description: 'Base64 Encoded certificate.'
|
||||
required: false
|
||||
sample_value: ************Base 64 Encoded Pfx Certificate************************
|
||||
sample_value: *******Base64 encoded Certificate******************
|
||||
azure_sdk_references: ['/certificates/encodedCertificate', '/properties/certificates/encodedCertificate']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'certificatePassword'
|
||||
description: 'Certificate Password.'
|
||||
required: false
|
||||
sample_value: **************Password of the Certificate************************************************
|
||||
sample_value: Password
|
||||
azure_sdk_references: ['/certificates/certificatePassword', '/properties/certificates/certificatePassword']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'storeName'
|
||||
|
@ -830,6 +845,11 @@ objects:
|
|||
description: 'Subject of the certificate.'
|
||||
required: true
|
||||
azure_sdk_references: ['/certificates/certificate/subject', '/properties/certificates/certificate/subject']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'enableClientCertificate'
|
||||
description: 'Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.'
|
||||
required: false
|
||||
azure_sdk_references: ['/enableClientCertificate', '/properties/enableClientCertificate']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'virtualNetworkType'
|
||||
description: 'The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only.'
|
||||
|
@ -867,6 +887,7 @@ objects:
|
|||
- :Standard
|
||||
- :Premium
|
||||
- :Basic
|
||||
- :Consumption
|
||||
sample_value: Basic
|
||||
azure_sdk_references: ['/sku/name']
|
||||
-
|
||||
|
|
|
@ -5,10 +5,14 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
publisher_email: admin@live.com
|
||||
publisher_name: contoso
|
||||
tags:
|
||||
tag1: value1
|
||||
tag2: value2
|
||||
tag3: value3
|
||||
publisher_email: apim@autorestsdk.com
|
||||
publisher_name: autorestsdk
|
||||
sku:
|
||||
name: Premium
|
||||
name: Developer
|
||||
capacity: '1'
|
||||
location: West US
|
||||
location: Central US
|
||||
|
|
@ -31,7 +31,7 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
}}/providers/Microsoft.Network/virtualNetworks/{{ virtual_network_name
|
||||
}}/subnets/{{ subnet_name }}
|
||||
additional_locations:
|
||||
- location: West US
|
||||
- location: North Europe
|
||||
sku:
|
||||
name: Premium
|
||||
capacity: '1'
|
||||
|
|
|
@ -5,11 +5,15 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
publisher_email: admin@contoso.com
|
||||
publisher_name: Contoso
|
||||
tags:
|
||||
tag1: value1
|
||||
tag2: value2
|
||||
tag3: value3
|
||||
publisher_email: apim@autorestsdk.com
|
||||
publisher_name: autorestsdk
|
||||
sku:
|
||||
name: Developer
|
||||
name: Consumption
|
||||
identity:
|
||||
type: SystemAssigned
|
||||
location: Japan East
|
||||
location: West US
|
||||
|
|
@ -10,10 +10,8 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
tag2: value2
|
||||
tag3: value3
|
||||
certificates:
|
||||
- encoded_certificate: '************Base 64 Encoded Pfx Certificate************************'
|
||||
certificate_password: >-
|
||||
**************Password of the
|
||||
Certificate************************************************
|
||||
- encoded_certificate: '*******Base64 encoded Certificate******************'
|
||||
certificate_password: Password
|
||||
store_name: CertificateAuthority
|
||||
publisher_email: apim@autorestsdk.com
|
||||
publisher_name: autorestsdk
|
||||
|
|
|
@ -47,18 +47,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: SubscriptionCreateParameterProperties
|
||||
'/userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/ownerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: user_id
|
||||
'/properties/userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: owner_id
|
||||
'/properties/ownerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: UserID
|
||||
'/productId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: OwnerID
|
||||
'/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: product_id
|
||||
'/properties/productId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: scope
|
||||
'/properties/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ProductID
|
||||
go_field_name: Scope
|
||||
'/displayName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: display_name
|
||||
|
@ -84,6 +84,12 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: State
|
||||
go_enum_type_name: SubscriptionState
|
||||
'/allowTracing': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: allow_tracing
|
||||
'/properties/allowTracing': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AllowTracing
|
||||
'notify': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
id_portion: null
|
||||
go_variable_name: Notify
|
||||
|
@ -127,18 +133,18 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: Properties
|
||||
go_type_name: SubscriptionCreateParameterProperties
|
||||
'/userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'/ownerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: user_id
|
||||
'/properties/userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: owner_id
|
||||
'/properties/ownerId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: UserID
|
||||
'/productId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: OwnerID
|
||||
'/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: product_id
|
||||
'/properties/productId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
python_field_name: scope
|
||||
'/properties/scope': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: ProductID
|
||||
go_field_name: Scope
|
||||
'/displayName': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [python]
|
||||
python_field_name: display_name
|
||||
|
@ -164,6 +170,12 @@ objects:
|
|||
applicable_to: [go]
|
||||
go_field_name: State
|
||||
go_enum_type_name: SubscriptionState
|
||||
'/allowTracing': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [python]
|
||||
python_field_name: allow_tracing
|
||||
'/properties/allowTracing': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
applicable_to: [go]
|
||||
go_field_name: AllowTracing
|
||||
'notify': !ruby/object:Api::Azure::SDKTypeDefinition::BooleanObject
|
||||
id_portion: null
|
||||
go_variable_name: Notify
|
||||
|
@ -253,17 +265,17 @@ objects:
|
|||
sample_value: testsub
|
||||
azure_sdk_references: ['sid']
|
||||
- !ruby/object:Api::Type::ResourceReference
|
||||
name: 'userId'
|
||||
description: 'User (user id path) for whom subscription is being created in form /users/{uid}'
|
||||
required: true
|
||||
name: 'ownerId'
|
||||
description: 'User (user id path) for whom subscription is being created in form /users/{userId}'
|
||||
required: false
|
||||
sample_value: /subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group }}/providers/Microsoft.ApiManagement/service/{{ service_name }}/users/{{ name }}
|
||||
azure_sdk_references: ['/userId', '/properties/userId']
|
||||
azure_sdk_references: ['/ownerId', '/properties/ownerId']
|
||||
- !ruby/object:Api::Type::ResourceReference
|
||||
name: 'productId'
|
||||
description: 'Product (product id path) for which subscription is being created in form /products/{productId}'
|
||||
name: 'scope'
|
||||
description: 'Scope like /products/{productId} or /apis or /apis/{apiId}.'
|
||||
required: true
|
||||
sample_value: /subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group }}/providers/Microsoft.ApiManagement/service/{{ service_name }}/products/{{ name }}
|
||||
azure_sdk_references: ['/productId', '/properties/productId']
|
||||
azure_sdk_references: ['/scope', '/properties/scope']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'displayName'
|
||||
description: 'Subscription name.'
|
||||
|
@ -292,6 +304,11 @@ objects:
|
|||
- :rejected
|
||||
- :cancelled
|
||||
azure_sdk_references: ['/state', '/properties/state']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'allowTracing'
|
||||
description: 'Determines whether tracing can be enabled'
|
||||
required: false
|
||||
azure_sdk_references: ['/allowTracing', '/properties/allowTracing']
|
||||
- !ruby/object:Api::Type::Boolean
|
||||
name: 'notify'
|
||||
description: 'Notify change in Subscription State.
|
||||
|
|
|
@ -6,11 +6,11 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
sid: testsub
|
||||
user_id: >-
|
||||
owner_id: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name }}/users/{{
|
||||
user_name }}
|
||||
product_id: >-
|
||||
scope: >-
|
||||
/subscriptions/{{ subscription_id }}/resourceGroups/{{ resource_group
|
||||
}}/providers/Microsoft.ApiManagement/service/{{ service_name }}/products/{{
|
||||
product_name }}
|
||||
|
|
|
@ -33,11 +33,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: UserCreateParameters
|
||||
|
@ -72,7 +72,7 @@ objects:
|
|||
'/properties/identities': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Identities
|
||||
go_type_name: {"$id":"2874","$type":"SequenceType","elementType":{"$ref":"2812"},"name":{"$id":"2875","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2941","$type":"SequenceType","elementType":{"$ref":"2879"},"name":{"$id":"2942","fixed":false},"deprecated":false}
|
||||
'/properties/identities/provider': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Provider
|
||||
|
@ -134,11 +134,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
'/': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexObject
|
||||
go_variable_name: Parameters
|
||||
go_type_name: UserCreateParameters
|
||||
|
@ -173,7 +173,7 @@ objects:
|
|||
'/properties/identities': !ruby/object:Api::Azure::SDKTypeDefinition::ComplexArrayObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Identities
|
||||
go_type_name: {"$id":"2874","$type":"SequenceType","elementType":{"$ref":"2812"},"name":{"$id":"2875","fixed":false},"deprecated":false}
|
||||
go_type_name: {"$id":"2941","$type":"SequenceType","elementType":{"$ref":"2879"},"name":{"$id":"2942","fixed":false},"deprecated":false}
|
||||
'/properties/identities/provider': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
applicable_to: [go]
|
||||
go_field_name: Provider
|
||||
|
@ -235,11 +235,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
read: !ruby/object:Api::Azure::SDKOperationDefinition
|
||||
go_func_name: Get
|
||||
python_func_name: get
|
||||
|
@ -254,11 +254,11 @@ objects:
|
|||
go_variable_name: name
|
||||
python_parameter_name: service_name
|
||||
python_variable_name: name
|
||||
'uid': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
'userId': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
id_portion: users
|
||||
go_variable_name: Uid
|
||||
python_parameter_name: uid
|
||||
python_variable_name: uid
|
||||
go_variable_name: UserID
|
||||
python_parameter_name: user_id
|
||||
python_variable_name: user_id
|
||||
response:
|
||||
'/id': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject
|
||||
go_field_name: ID
|
||||
|
@ -288,12 +288,12 @@ objects:
|
|||
sample_value: myService
|
||||
azure_sdk_references: ['serviceName']
|
||||
- !ruby/object:Api::Type::String
|
||||
name: 'uid'
|
||||
name: 'userId'
|
||||
description: 'User identifier. Must be unique in the current API Management service instance.'
|
||||
required: true
|
||||
input: true
|
||||
sample_value: myUser
|
||||
azure_sdk_references: ['uid']
|
||||
azure_sdk_references: ['userId']
|
||||
- !ruby/object:Api::Type::EnumType
|
||||
name: 'state'
|
||||
description: 'Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.'
|
||||
|
|
|
@ -5,6 +5,6 @@ task: !ruby/object:Provider::Ansible::Task
|
|||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
uid: myUser
|
||||
user_id: myUser
|
||||
state: absent
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementuser
|
||||
description: ApiManagementUpdateUserBasic
|
||||
description: ApiManagementUpdateUser
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
uid: myUser
|
||||
user_id: myUser
|
||||
email: foobar@outlook.com
|
||||
first_name: foo
|
||||
last_name: bar
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- !ruby/object:Provider::Ansible::Example
|
||||
task: !ruby/object:Provider::Ansible::Task
|
||||
name: azure_rm_apimanagementuser
|
||||
description: ApiManagementCreateUserBasic
|
||||
description: ApiManagementCreateUser
|
||||
code:
|
||||
resource_group: myResourceGroup
|
||||
name: myService
|
||||
uid: myUser
|
||||
user_id: myUser
|
||||
email: foobar@outlook.com
|
||||
first_name: foo
|
||||
last_name: bar
|
||||
|
|
Загрузка…
Ссылка в новой задаче