azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

219 строки
21 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.DiagnosticSettings"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings"
name: "DiagnosticSettings"
nameWithType: "DiagnosticSettings"
summary: "Entry point for diagnostic settings management API."
syntax: "public interface **DiagnosticSettings**</br> extends <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.Blank?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation&text=SupportsBatchCreation\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion&text=SupportsBatchDeletion\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.implementation.MonitorManager?alt=com.microsoft.azure.management.monitor.implementation.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner?alt=com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner&text=DiagnosticSettingsInner\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.delete(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.delete(String resourceId, String name)"
name: "delete(String resourceId, String name)"
nameWithType: "DiagnosticSettings.delete(String resourceId, String name)"
summary: "Deletes a Diagnostic Setting from Azure, identifying it by its resource<wbr>Id and name."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the name of Diagnostic Setting."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract void delete(String resourceId, String name)"
desc: "Deletes a Diagnostic Setting from Azure, identifying it by its resourceId and name."
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.deleteAsync(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.deleteAsync(String resourceId, String name)"
name: "deleteAsync(String resourceId, String name)"
nameWithType: "DiagnosticSettings.deleteAsync(String resourceId, String name)"
summary: "Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resource<wbr>Id and name."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the name of Diagnostic Setting."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Completable deleteAsync(String resourceId, String name)"
desc: "Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name."
returns:
description: "a representation of the deferred computation of this call"
type: "<xref href=\"rx.Completable?alt=rx.Completable&text=Completable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.deleteAsync(java.lang.String,java.lang.String,com.microsoft.rest.ServiceCallback<java.lang.Void>)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.deleteAsync(String resourceId, String name, ServiceCallback<Void> callback)"
name: "deleteAsync(String resourceId, String name, ServiceCallback<Void> callback)"
nameWithType: "DiagnosticSettings.deleteAsync(String resourceId, String name, ServiceCallback<Void> callback)"
summary: "Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resource<wbr>Id and name."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the name of Diagnostic Setting."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the callback on success or failure"
name: "callback"
type: "<xref href=\"com.microsoft.rest.ServiceCallback?alt=com.microsoft.rest.ServiceCallback&text=ServiceCallback\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.Void?alt=java.lang.Void&text=Void\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public abstract ServiceFuture<Void> deleteAsync(String resourceId, String name, ServiceCallback<Void> callback)"
desc: "Asynchronously delete a Diagnostic Setting from Azure, identifying it by its resourceId and name."
returns:
description: "a handle to cancel the request"
type: "<xref href=\"com.microsoft.rest.ServiceFuture?alt=com.microsoft.rest.ServiceFuture&text=ServiceFuture\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.Void?alt=java.lang.Void&text=Void\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.get(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.get(String resourceId, String name)"
name: "get(String resourceId, String name)"
nameWithType: "DiagnosticSettings.get(String resourceId, String name)"
summary: "Gets the information about Diagnostic Setting from Azure based on the resource id and setting name."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the name of Diagnostic Setting."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract DiagnosticSetting get(String resourceId, String name)"
desc: "Gets the information about Diagnostic Setting from Azure based on the resource id and setting name."
returns:
description: "an immutable representation of the resource"
type: "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.getAsync(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.getAsync(String resourceId, String name)"
name: "getAsync(String resourceId, String name)"
nameWithType: "DiagnosticSettings.getAsync(String resourceId, String name)"
summary: "Gets the information about Diagnostic Setting from Azure based on the resource id and setting name."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the name of Diagnostic Setting."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Observable<DiagnosticSetting> getAsync(String resourceId, String name)"
desc: "Gets the information about Diagnostic Setting from Azure based on the resource id and setting name."
returns:
description: "an immutable representation of the resource"
type: "<xref href=\"rx.Observable?alt=rx.Observable&text=Observable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.getCategory(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.getCategory(String resourceId, String name)"
name: "getCategory(String resourceId, String name)"
nameWithType: "DiagnosticSettings.getCategory(String resourceId, String name)"
summary: "Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "of the requested resource."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "of the Log or Metric category."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract DiagnosticSettingsCategory getCategory(String resourceId, String name)"
desc: "Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource."
returns:
description: "Diagnostic Setting category available for the resource."
type: "<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSettingsCategory?alt=com.microsoft.azure.management.monitor.DiagnosticSettingsCategory&text=DiagnosticSettingsCategory\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.getCategoryAsync(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.getCategoryAsync(String resourceId, String name)"
name: "getCategoryAsync(String resourceId, String name)"
nameWithType: "DiagnosticSettings.getCategoryAsync(String resourceId, String name)"
summary: "Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "of the requested resource."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "of the Log or Metric category."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Observable<DiagnosticSettingsCategory> getCategoryAsync(String resourceId, String name)"
desc: "Gets the information about Diagnostic Setting category for Log or Metric Setting for a specific resource."
returns:
description: "Diagnostic Setting category available for the resource."
type: "<xref href=\"rx.Observable?alt=rx.Observable&text=Observable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSettingsCategory?alt=com.microsoft.azure.management.monitor.DiagnosticSettingsCategory&text=DiagnosticSettingsCategory\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.listByResource(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.listByResource(String resourceId)"
name: "listByResource(String resourceId)"
nameWithType: "DiagnosticSettings.listByResource(String resourceId)"
summary: "Lists all the diagnostic settings in the currently selected subscription for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedList<DiagnosticSetting> listByResource(String resourceId)"
desc: "Lists all the diagnostic settings in the currently selected subscription for a specific resource."
returns:
description: "list of resources"
type: "<xref href=\"com.microsoft.azure.PagedList?alt=com.microsoft.azure.PagedList&text=PagedList\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.listByResourceAsync(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.listByResourceAsync(String resourceId)"
name: "listByResourceAsync(String resourceId)"
nameWithType: "DiagnosticSettings.listByResourceAsync(String resourceId)"
summary: "Lists all the diagnostic settings in the currently selected subscription for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "that Diagnostic Setting is associated with."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Observable<DiagnosticSetting> listByResourceAsync(String resourceId)"
desc: "Lists all the diagnostic settings in the currently selected subscription for a specific resource."
returns:
description: "list of resources"
type: "<xref href=\"rx.Observable?alt=rx.Observable&text=Observable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.listCategoriesByResource(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.listCategoriesByResource(String resourceId)"
name: "listCategoriesByResource(String resourceId)"
nameWithType: "DiagnosticSettings.listCategoriesByResource(String resourceId)"
summary: "Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "of the requested resource."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract List<DiagnosticSettingsCategory> listCategoriesByResource(String resourceId)"
desc: "Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource."
returns:
description: "list of Diagnostic Settings category available for the resource."
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSettingsCategory?alt=com.microsoft.azure.management.monitor.DiagnosticSettingsCategory&text=DiagnosticSettingsCategory\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.DiagnosticSettings.listCategoriesByResourceAsync(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.DiagnosticSettings.listCategoriesByResourceAsync(String resourceId)"
name: "listCategoriesByResourceAsync(String resourceId)"
nameWithType: "DiagnosticSettings.listCategoriesByResourceAsync(String resourceId)"
summary: "Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource."
modifiers:
- "abstract"
parameters:
- description: "of the requested resource."
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Observable<DiagnosticSettingsCategory> listCategoriesByResourceAsync(String resourceId)"
desc: "Lists all the Diagnostic Settings categories for Log and Metric Settings for a specific resource."
returns:
description: "list of Diagnostic Settings category available for the resource."
type: "<xref href=\"rx.Observable?alt=rx.Observable&text=Observable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSettingsCategory?alt=com.microsoft.azure.management.monitor.DiagnosticSettingsCategory&text=DiagnosticSettingsCategory\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Entry point for diagnostic settings management API."
implements:
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion&text=SupportsBatchDeletion\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.implementation.MonitorManager?alt=com.microsoft.azure.management.monitor.implementation.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation&text=SupportsBatchCreation\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting?alt=com.microsoft.azure.management.monitor.DiagnosticSetting&text=DiagnosticSetting\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.Blank?alt=com.microsoft.azure.management.monitor.DiagnosticSetting.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner?alt=com.microsoft.azure.management.monitor.implementation.DiagnosticSettingsInner&text=DiagnosticSettingsInner\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4