Diagnostic
Manages an API Management Service Diagnostic.
Create a Diagnostic Resource
new Diagnostic(name: string, args: DiagnosticArgs, opts?: CustomResourceOptions);def Diagnostic(resource_name, opts=None, api_management_logger_id=None, api_management_name=None, enabled=None, identifier=None, resource_group_name=None, __props__=None);func NewDiagnostic(ctx *Context, name string, args DiagnosticArgs, opts ...ResourceOption) (*Diagnostic, error)public Diagnostic(string name, DiagnosticArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DiagnosticArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiagnosticArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiagnosticArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Diagnostic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Diagnostic resource accepts the following input properties:
- Api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- Api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- Identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Enabled bool
- Api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- Api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- Identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Enabled bool
- api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- enabled boolean
- api_
management_ strlogger_ id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- api_
management_ strname The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- identifier str
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- resource_
group_ strname The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- enabled bool
Outputs
All input properties are implicitly available as output properties. Additionally, the Diagnostic resource produces the following output properties:
Look up an Existing Diagnostic Resource
Get an existing Diagnostic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DiagnosticState, opts?: CustomResourceOptions): Diagnosticstatic get(resource_name, id, opts=None, api_management_logger_id=None, api_management_name=None, enabled=None, identifier=None, resource_group_name=None, __props__=None);func GetDiagnostic(ctx *Context, name string, id IDInput, state *DiagnosticState, opts ...ResourceOption) (*Diagnostic, error)public static Diagnostic Get(string name, Input<string> id, DiagnosticState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- Api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- Enabled bool
- Identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- Api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- Enabled bool
- Identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- api
Management stringLogger Id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- api
Management stringName The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- enabled boolean
- identifier string
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- api_
management_ strlogger_ id The id of the target API Management Logger where the API Management Diagnostic should be saved.
- api_
management_ strname The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
- enabled bool
- identifier str
The diagnostic identifier for the API Management Service. At this time the only supported value is
applicationinsights. Changing this forces a new resource to be created.- resource_
group_ strname The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.