azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.q...

90 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.quota.fluent.UsagesClient"
fullName: "com.azure.resourcemanager.quota.fluent.UsagesClient"
name: "UsagesClient"
nameWithType: "UsagesClient"
summary: "An instance of this class provides access to all the operations defined in Usages<wbr>Client."
syntax: "public interface **UsagesClient**"
methods:
- uid: "com.azure.resourcemanager.quota.fluent.UsagesClient.get(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.quota.fluent.UsagesClient.get(String resourceName, String scope)"
name: "get(String resourceName, String scope)"
nameWithType: "UsagesClient.get(String resourceName, String scope)"
summary: "Get the current usage of a resource."
modifiers:
- "abstract"
parameters:
- description: "Resource name for a given resource provider. For example:\n - SKU name for Microsoft.Compute\n - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n For Microsoft.Network PublicIPAddresses."
name: "resourceName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The target Azure resource URI. For example,\n `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`,\n then it's the target Azure resource URI in the GET operation for the specific resource."
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract CurrentUsagesBaseInner get(String resourceName, String scope)"
desc: "Get the current usage of a resource."
returns:
description: "the current usage of a resource."
type: "<xref href=\"com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner?alt=com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner&text=CurrentUsagesBaseInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.quota.fluent.UsagesClient.getWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.quota.fluent.UsagesClient.getWithResponse(String resourceName, String scope, Context context)"
name: "getWithResponse(String resourceName, String scope, Context context)"
nameWithType: "UsagesClient.getWithResponse(String resourceName, String scope, Context context)"
summary: "Get the current usage of a resource."
modifiers:
- "abstract"
parameters:
- description: "Resource name for a given resource provider. For example:\n - SKU name for Microsoft.Compute\n - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\n For Microsoft.Network PublicIPAddresses."
name: "resourceName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The target Azure resource URI. For example,\n `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`,\n then it's the target Azure resource URI in the GET operation for the specific resource."
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract UsagesGetResponse getWithResponse(String resourceName, String scope, Context context)"
desc: "Get the current usage of a resource."
returns:
description: "the current usage of a resource."
type: "<xref href=\"com.azure.resourcemanager.quota.models.UsagesGetResponse?alt=com.azure.resourcemanager.quota.models.UsagesGetResponse&text=UsagesGetResponse\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.quota.fluent.UsagesClient.list(java.lang.String)"
fullName: "com.azure.resourcemanager.quota.fluent.UsagesClient.list(String scope)"
name: "list(String scope)"
nameWithType: "UsagesClient.list(String scope)"
summary: "Get a list of current usage for all resources for the scope specified."
modifiers:
- "abstract"
parameters:
- description: "The target Azure resource URI. For example,\n `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`,\n then it's the target Azure resource URI in the GET operation for the specific resource."
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<CurrentUsagesBaseInner> list(String scope)"
desc: "Get a list of current usage for all resources for the scope specified."
returns:
description: "a list of current usage for all resources for the scope specified as paginated response with\n <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner?alt=com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner&text=CurrentUsagesBaseInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.quota.fluent.UsagesClient.list(java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.quota.fluent.UsagesClient.list(String scope, Context context)"
name: "list(String scope, Context context)"
nameWithType: "UsagesClient.list(String scope, Context context)"
summary: "Get a list of current usage for all resources for the scope specified."
modifiers:
- "abstract"
parameters:
- description: "The target Azure resource URI. For example,\n `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/`.\n This is the target Azure resource URI for the List GET operation. If a `{resourceName}` is added after `/quotas`,\n then it's the target Azure resource URI in the GET operation for the specific resource."
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<CurrentUsagesBaseInner> list(String scope, Context context)"
desc: "Get a list of current usage for all resources for the scope specified."
returns:
description: "a list of current usage for all resources for the scope specified as paginated response with\n <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner?alt=com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner&text=CurrentUsagesBaseInner\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "An instance of this class provides access to all the operations defined in UsagesClient."
metadata: {}
package: "com.azure.resourcemanager.quota.fluent"
artifact: com.azure.resourcemanager:azure-resourcemanager-quota:1.0.0