azure-docs-sdk-java/docs-ref-autogen/com.azure.core.management.p...

89 строки
6.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.management.profile.AzureProfile"
fullName: "com.azure.core.management.profile.AzureProfile"
name: "AzureProfile"
nameWithType: "AzureProfile"
summary: "Azure profile for client."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **AzureProfile**"
constructors:
- uid: "com.azure.core.management.profile.AzureProfile.AzureProfile(com.azure.core.management.AzureEnvironment)"
fullName: "com.azure.core.management.profile.AzureProfile.AzureProfile(AzureEnvironment environment)"
name: "AzureProfile(AzureEnvironment environment)"
nameWithType: "AzureProfile.AzureProfile(AzureEnvironment environment)"
summary: "Creates Azure<wbr>Profile instance with Azure environment."
parameters:
- description: "the Azure environment"
name: "environment"
type: "<xref href=\"com.azure.core.management.AzureEnvironment?alt=com.azure.core.management.AzureEnvironment&text=AzureEnvironment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureProfile(AzureEnvironment environment)"
desc: "Creates AzureProfile instance with Azure environment. The global environment is <xref uid=\"com.azure.core.management.AzureEnvironment.AZURE\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureEnvironment#AZURE\"></xref>. The tenant ID and subscription ID can be set via environment variables. The environment variables are expected as below:\n\n * <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AZURE_TENANT_ID\"></xref>\n * <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AZURE_SUBSCRIPTION_ID\"></xref>"
- uid: "com.azure.core.management.profile.AzureProfile.AzureProfile(java.lang.String,java.lang.String,com.azure.core.management.AzureEnvironment)"
fullName: "com.azure.core.management.profile.AzureProfile.AzureProfile(String tenantId, String subscriptionId, AzureEnvironment environment)"
name: "AzureProfile(String tenantId, String subscriptionId, AzureEnvironment environment)"
nameWithType: "AzureProfile.AzureProfile(String tenantId, String subscriptionId, AzureEnvironment environment)"
summary: "Creates Azure<wbr>Profile instance with tenant ID, subscription ID and Azure environment."
parameters:
- description: "the tenant ID required for Graph Rbac"
name: "tenantId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the subscription ID required for resource management"
name: "subscriptionId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the Azure environment"
name: "environment"
type: "<xref href=\"com.azure.core.management.AzureEnvironment?alt=com.azure.core.management.AzureEnvironment&text=AzureEnvironment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureProfile(String tenantId, String subscriptionId, AzureEnvironment environment)"
desc: "Creates AzureProfile instance with tenant ID, subscription ID and Azure environment. The global environment is <xref uid=\"com.azure.core.management.AzureEnvironment.AZURE\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureEnvironment#AZURE\"></xref>."
methods:
- uid: "com.azure.core.management.profile.AzureProfile.getEnvironment()"
fullName: "com.azure.core.management.profile.AzureProfile.getEnvironment()"
name: "getEnvironment()"
nameWithType: "AzureProfile.getEnvironment()"
summary: "Gets Azure environment."
syntax: "public AzureEnvironment getEnvironment()"
desc: "Gets Azure environment."
returns:
description: "the Azure environment"
type: "<xref href=\"com.azure.core.management.AzureEnvironment?alt=com.azure.core.management.AzureEnvironment&text=AzureEnvironment\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.management.profile.AzureProfile.getSubscriptionId()"
fullName: "com.azure.core.management.profile.AzureProfile.getSubscriptionId()"
name: "getSubscriptionId()"
nameWithType: "AzureProfile.getSubscriptionId()"
summary: "Gets subscription ID."
syntax: "public String getSubscriptionId()"
desc: "Gets subscription ID."
returns:
description: "the subscription ID"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.profile.AzureProfile.getTenantId()"
fullName: "com.azure.core.management.profile.AzureProfile.getTenantId()"
name: "getTenantId()"
nameWithType: "AzureProfile.getTenantId()"
summary: "Gets tenant ID."
syntax: "public String getTenantId()"
desc: "Gets tenant ID."
returns:
description: "the tenant ID"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Azure profile for client."
metadata: {}
package: "com.azure.core.management.profile"
artifact: com.azure:azure-core-management:1.15.3