227 строки
15 KiB
YAML
227 строки
15 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils"
|
|
name: "ResourceUtils"
|
|
nameWithType: "ResourceUtils"
|
|
summary: "Utility methods for Azure resource IDs."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public final class **ResourceUtils**"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.constructResourceId(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.constructResourceId(String subscriptionId, String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String parentResourcePath)"
|
|
name: "constructResourceId(String subscriptionId, String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String parentResourcePath)"
|
|
nameWithType: "ResourceUtils.constructResourceId(String subscriptionId, String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String parentResourcePath)"
|
|
summary: "Creates a resource ID from information of a generic resource."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the subscription UUID"
|
|
name: "subscriptionId"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the resource group name"
|
|
name: "resourceGroupName"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the resource provider namespace"
|
|
name: "resourceProviderNamespace"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the type of the resource or nested resource"
|
|
name: "resourceType"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "name of the resource or nested resource"
|
|
name: "resourceName"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "parent resource's relative path to the provider,\n if the resource is a generic resource"
|
|
name: "parentResourcePath"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String constructResourceId(String subscriptionId, String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String parentResourcePath)"
|
|
desc: "Creates a resource ID from information of a generic resource."
|
|
returns:
|
|
description: "the resource ID string"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.defaultApiVersion(java.lang.String,com.microsoft.azure.management.resources.Provider)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.defaultApiVersion(String id, Provider provider)"
|
|
name: "defaultApiVersion(String id, Provider provider)"
|
|
nameWithType: "ResourceUtils.defaultApiVersion(String id, Provider provider)"
|
|
summary: "Find out the default api version to make a REST request with from the resource provider."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the resource provider"
|
|
name: "provider"
|
|
type: "<xref href=\"com.microsoft.azure.management.resources.Provider?alt=com.microsoft.azure.management.resources.Provider&text=Provider\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String defaultApiVersion(String id, Provider provider)"
|
|
desc: "Find out the default api version to make a REST request with from the resource provider."
|
|
returns:
|
|
description: "the default api version to use"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.extractFromResourceId(java.lang.String,java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.extractFromResourceId(String id, String identifier)"
|
|
name: "extractFromResourceId(String id, String identifier)"
|
|
nameWithType: "ResourceUtils.extractFromResourceId(String id, String identifier)"
|
|
summary: "Extract information from a resource ID string with the resource type as the identifier."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the identifier to match, e.g. \"resourceGroups\", \"storageAccounts\""
|
|
name: "identifier"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String extractFromResourceId(String id, String identifier)"
|
|
desc: "Extract information from a resource ID string with the resource type as the identifier."
|
|
returns:
|
|
description: "the information extracted from the identifier"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.groupFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.groupFromResourceId(String id)"
|
|
name: "groupFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.groupFromResourceId(String id)"
|
|
summary: "Extract resource group from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String groupFromResourceId(String id)"
|
|
desc: "Extract resource group from a resource ID string."
|
|
returns:
|
|
description: "the resource group name"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.nameFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.nameFromResourceId(String id)"
|
|
name: "nameFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.nameFromResourceId(String id)"
|
|
summary: "Extract name of the resource from a resource ID."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String nameFromResourceId(String id)"
|
|
desc: "Extract name of the resource from a resource ID."
|
|
returns:
|
|
description: "the name of the resource"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.parentRelativePathFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.parentRelativePathFromResourceId(String id)"
|
|
name: "parentRelativePathFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.parentRelativePathFromResourceId(String id)"
|
|
summary: "Extract parent resource path from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String parentRelativePathFromResourceId(String id)"
|
|
desc: "Extract parent resource path from a resource ID string. E.g. subscriptions/s/resourcegroups/r/foos/foo/bars/bar will return foos/foo."
|
|
returns:
|
|
description: "the parent resource ID"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.parentResourceIdFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.parentResourceIdFromResourceId(String id)"
|
|
name: "parentResourceIdFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.parentResourceIdFromResourceId(String id)"
|
|
summary: "Extract parent resource ID from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String parentResourceIdFromResourceId(String id)"
|
|
desc: "Extract parent resource ID from a resource ID string. E.g. subscriptions/s/resourcegroups/r/foos/foo/bars/bar will return subscriptions/s/resourcegroups/r/foos/foo."
|
|
returns:
|
|
description: "the parent resource ID"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.relativePathFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.relativePathFromResourceId(String id)"
|
|
name: "relativePathFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.relativePathFromResourceId(String id)"
|
|
summary: "Extract the relative path to the current resource provider."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the id of the resource"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String relativePathFromResourceId(String id)"
|
|
desc: "Extract the relative path to the current resource provider. E.g. subscriptions/sub1/resourceGroups/rg1/providers/Microsoft.Foo/foos/foo1 will return foos/foo1."
|
|
returns:
|
|
description: "the relative path"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.resourceProviderFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.resourceProviderFromResourceId(String id)"
|
|
name: "resourceProviderFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.resourceProviderFromResourceId(String id)"
|
|
summary: "Extract resource provider from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String resourceProviderFromResourceId(String id)"
|
|
desc: "Extract resource provider from a resource ID string."
|
|
returns:
|
|
description: "the resource group name"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.resourceTypeFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.resourceTypeFromResourceId(String id)"
|
|
name: "resourceTypeFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.resourceTypeFromResourceId(String id)"
|
|
summary: "Extract resource type from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String resourceTypeFromResourceId(String id)"
|
|
desc: "Extract resource type from a resource ID string."
|
|
returns:
|
|
description: "the resource type"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.subscriptionFromResourceId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils.subscriptionFromResourceId(String id)"
|
|
name: "subscriptionFromResourceId(String id)"
|
|
nameWithType: "ResourceUtils.subscriptionFromResourceId(String id)"
|
|
summary: "Extract the subscription ID from a resource ID string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the resource ID string"
|
|
name: "id"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String subscriptionFromResourceId(String id)"
|
|
desc: "Extract the subscription ID from a resource ID string."
|
|
returns:
|
|
description: "the subscription ID"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Utility methods for Azure resource IDs."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.resources.fluentcore.arm"
|
|
artifact: com.microsoft.azure:azure-mgmt-resources:1.41.4
|