Class Diagnostic
Manages an API Management Service Diagnostic.
Inherited Members
Namespace: Pulumi.Azure.ApiManagement
Assembly: Pulumi.Azure.dll
Syntax
public class Diagnostic : CustomResource
Constructors
View SourceDiagnostic(String, DiagnosticArgs, CustomResourceOptions)
Create a Diagnostic resource with the given unique name, arguments, and options.
Declaration
public Diagnostic(string name, DiagnosticArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DiagnosticArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApiManagementLoggerId
The id of the target API Management Logger where the API Management Diagnostic should be saved.
Declaration
public Output<string> ApiManagementLoggerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ApiManagementName
The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ApiManagementName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Identifier
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.
Declaration
public Output<string> Identifier { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DiagnosticState, CustomResourceOptions)
Get an existing Diagnostic resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Diagnostic Get(string name, Input<string> id, DiagnosticState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DiagnosticState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Diagnostic |