public final class Azure extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Azure.Authenticated
Provides authenticated access to a subset of Azure APIs that do not require a specific subscription.
|
static interface |
Azure.Configurable
The interface allowing configurations to be made on the client.
|
public static Azure.Authenticated authenticate(AzureTokenCredentials credentials)
credentials
- the credentials objectpublic static Azure.Authenticated authenticate(File credentialsFile) throws IOException
credentialsFile
- the file containing the credentials in the standard Java properties file format,
with the following keys:
subscription= #subscription ID
tenant= #tenant ID
client= #client id
key= #client key
managementURI= #management URI
baseURL= #base URL
authURL= #authentication URL
IOException
- exception thrown from file accesspublic static Azure.Authenticated authenticate(RestClient restClient, String tenantId)
restClient
- the RestClient configured with Azure authentication credentialstenantId
- the tenantId in Active Directorypublic static Azure.Authenticated authenticate(RestClient restClient, String tenantId, String subscriptionId)
restClient
- the RestClient configured with Azure authentication credentialstenantId
- the tenantId in Active DirectorysubscriptionId
- the ID of the subscriptionpublic static Azure.Configurable configure()
public String subscriptionId()
public Subscription getCurrentSubscription()
public Subscriptions subscriptions()
public ResourceGroups resourceGroups()
public Deployments deployments()
public GenericResources genericResources()
public ManagementLocks managementLocks()
public Features features()
public Providers providers()
public PolicyDefinitions policyDefinitions()
public PolicyAssignments policyAssignments()
public StorageAccounts storageAccounts()
public Usages storageUsages()
public StorageSkus storageSkus()
public AvailabilitySets availabilitySets()
public Networks networks()
public RouteTables routeTables()
public LoadBalancers loadBalancers()
public ApplicationGateways applicationGateways()
public NetworkSecurityGroups networkSecurityGroups()
public NetworkUsages networkUsages()
public NetworkWatchers networkWatchers()
public VirtualNetworkGateways virtualNetworkGateways()
public LocalNetworkGateways localNetworkGateways()
@Beta(value=V1_4_0) public ExpressRouteCircuits expressRouteCircuits()
@Beta(value=V1_11_0) public ExpressRouteCrossConnections expressRouteCrossConnections()
@Beta(value=V1_10_0) public ApplicationSecurityGroups applicationSecurityGroups()
@Beta(value=V1_10_0) public RouteFilters routeFilters()
@Beta(value=V1_10_0) public DdosProtectionPlans ddosProtectionPlans()
public VirtualMachines virtualMachines()
public VirtualMachineScaleSets virtualMachineScaleSets()
public VirtualMachineImages virtualMachineImages()
public VirtualMachineCustomImages virtualMachineCustomImages()
public Disks disks()
public Snapshots snapshots()
public ComputeSkus computeSkus()
public PublicIPAddresses publicIPAddresses()
public NetworkInterfaces networkInterfaces()
public ComputeUsages computeUsages()
public Vaults vaults()
public BatchAccounts batchAccounts()
@Beta(value=V1_12_0) public BatchAIWorkspaces batchAIWorkspaces()
@Beta(value=V1_12_0) public BatchAIUsages batchAIUsages()
public TrafficManagerProfiles trafficManagerProfiles()
public RedisCaches redisCaches()
public CdnProfiles cdnProfiles()
public DnsZones dnsZones()
@Beta public WebApps webApps()
@Beta public com.microsoft.azure.management.appservice.implementation.AppServiceManager appServices()
public SqlServers sqlServers()
@Beta public ServiceBusNamespaces serviceBusNamespaces()
@Beta(value=V1_4_0) public ContainerServices containerServices()
@Beta(value=V1_4_0) public KubernetesClusters kubernetesClusters()
@Beta(value=V1_3_0) public ContainerGroups containerGroups()
@Beta(value=V1_1_0) public Registries containerRegistries()
@Beta public RegistryTasks containerRegistryTasks()
@Beta public RegistryTaskRuns containerRegistryTaskRuns()
@Beta(value=V1_2_0) public CosmosDBAccounts cosmosDBAccounts()
@Beta(value=V1_2_0) public SearchServices searchServices()
@Beta(value=V1_5_1) public Identities identities()
@Beta(value=V1_2_0) public AccessManagement accessManagement()
@Beta(value=V1_6_0) public ActivityLogs activityLogs()
@Beta(value=V1_6_0) public MetricDefinitions metricDefinitions()
@Beta(value=V1_8_0) public DiagnosticSettings diagnosticSettings()
@Beta(value=V1_9_0) public ActionGroups actionGroups()
@Beta(value=V1_15_0) public AlertRules alertRules()
@Beta(value=V1_15_0) public AutoscaleSettings autoscaleSettings()
@Beta(value=V1_7_0) public EventHubNamespaces eventHubNamespaces()
@Beta(value=V1_7_0) public EventHubs eventHubs()
@Beta(value=V1_7_0) public EventHubDisasterRecoveryPairings eventHubDisasterRecoveryPairings()
@Beta(value=V1_15_0) public Galleries galleries()
@Beta(value=V1_15_0) public GalleryImages galleryImages()
@Beta(value=V1_15_0) public GalleryImageVersions galleryImageVersions()
public BlobContainers storageBlobContainers()
public BlobServices storageBlobServices()
public ManagementPolicies storageManagementPolicies()
Copyright © 2019. All rights reserved.