Package com.microsoft.azure.management
Class Azure
java.lang.Object
com.microsoft.azure.management.Azure
The entry point for accessing resource management APIs in Azure.
A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please @see the new libraries for Azure resource management.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Provides authenticated access to a subset of Azure APIs that do not require a specific subscription.static interface
The interface allowing configurations to be made on the client. -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.azure.management.appservice.implementation.AppServiceManager
static Azure.Authenticated
authenticate
(com.microsoft.azure.credentials.AzureTokenCredentials credentials) Authenticate to Azure using an Azure credentials object.static Azure.Authenticated
authenticate
(com.microsoft.rest.RestClient restClient, String tenantId) Authenticates API access using a RestClient instance.static Azure.Authenticated
authenticate
(com.microsoft.rest.RestClient restClient, String tenantId, String subscriptionId) Authenticates API access using a RestClient instance.static Azure.Authenticated
authenticate
(File credentialsFile) Authenticates API access using a properties file containing the required credentials.static Azure.Configurable
disks()
dnsZones()
features()
networks()
tenantId()
tenants()
vaults()
webApps()
-
Method Details
-
authenticate
public static Azure.Authenticated authenticate(com.microsoft.azure.credentials.AzureTokenCredentials credentials) Authenticate to Azure using an Azure credentials object.- Parameters:
credentials
- the credentials object- Returns:
- the authenticated Azure client
-
authenticate
Authenticates API access using a properties file containing the required credentials.- Parameters:
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
- Returns:
- authenticated Azure client
- Throws:
IOException
- exception thrown from file access
-
authenticate
public static Azure.Authenticated authenticate(com.microsoft.rest.RestClient restClient, String tenantId) Authenticates API access using a RestClient instance.- Parameters:
restClient
- the RestClient configured with Azure authentication credentialstenantId
- the tenantId in Active Directory- Returns:
- authenticated Azure client
-
authenticate
public static Azure.Authenticated authenticate(com.microsoft.rest.RestClient restClient, String tenantId, String subscriptionId) Authenticates API access using a RestClient instance.- Parameters:
restClient
- the RestClient configured with Azure authentication credentialstenantId
- the tenantId in Active DirectorysubscriptionId
- the ID of the subscription- Returns:
- authenticated Azure client
-
configure
- Returns:
- an interface allow configurations on the client.
-
subscriptionId
- Returns:
- the currently selected subscription ID this client is authenticated to work with
-
tenantId
- Returns:
- the currently tenant ID this client is authenticated to work with
-
getCurrentSubscription
- Returns:
- the currently selected subscription this client is authenticated to work with
-
subscriptions
- Returns:
- entry point to managing subscriptions
-
tenants
- Returns:
- entry point to managing tenants
-
resourceGroups
- Returns:
- entry point to managing resource groups
-
deployments
- Returns:
- entry point to managing deployments
-
genericResources
- Returns:
- entry point to managing generic resources
-
managementLocks
- Returns:
- entry point to managing management locks
-
features
- Returns:
- entry point to managing features
-
providers
- Returns:
- entry point to managing resource providers
-
policyDefinitions
- Returns:
- entry point to managing policy definitions.
-
policyAssignments
- Returns:
- entry point to managing policy assignments.
-
storageAccounts
- Returns:
- entry point to managing storage accounts
-
storageUsages
- Returns:
- entry point to managing storage account usages
-
storageSkus
- Returns:
- entry point to managing storage service SKUs
-
availabilitySets
- Returns:
- entry point to managing availability sets
-
networks
- Returns:
- entry point to managing virtual networks
-
routeTables
- Returns:
- entry point to managing route tables
-
loadBalancers
- Returns:
- entry point to managing load balancers
-
applicationGateways
- Returns:
- entry point to managing application gateways
-
networkSecurityGroups
- Returns:
- entry point to managing network security groups
-
networkUsages
- Returns:
- entry point to managing network resource usages
-
networkWatchers
- Returns:
- entry point to managing network watchers
-
virtualNetworkGateways
- Returns:
- entry point to managing virtual network gateways
-
localNetworkGateways
- Returns:
- entry point to managing local network gateways
-
expressRouteCircuits
- Returns:
- entry point to managing express route circuits
-
expressRouteCrossConnections
- Returns:
- entry point to managing express route cross connections
-
applicationSecurityGroups
- Returns:
- entry point to managing express route circuits
-
routeFilters
- Returns:
- entry point to managing route filters
-
ddosProtectionPlans
- Returns:
- entry point to managing DDoS protection plans
-
virtualMachines
- Returns:
- entry point to managing virtual machines
-
virtualMachineScaleSets
- Returns:
- entry point to managing virtual machine scale sets.
-
virtualMachineImages
- Returns:
- entry point to managing virtual machine images
-
virtualMachineCustomImages
- Returns:
- entry point to managing virtual machine custom images
-
disks
- Returns:
- entry point to managing managed disks
-
snapshots
- Returns:
- entry point to managing managed snapshots
-
computeSkus
- Returns:
- the compute service SKU management API entry point
-
publicIPAddresses
- Returns:
- entry point to managing public IP addresses
-
publicIPPrefixes
- Returns:
- entry point to managing public IP prefixes
-
networkInterfaces
- Returns:
- entry point to managing network interfaces
-
computeUsages
- Returns:
- entry point to managing compute resource usages
-
vaults
- Returns:
- entry point to managing key vaults
-
batchAccounts
- Returns:
- entry point to managing batch accounts.
-
batchAIWorkspaces
- Returns:
- entry point to managing batch AI clusters.
-
batchAIUsages
- Returns:
- entry point to managing batch AI usages.
-
trafficManagerProfiles
- Returns:
- entry point to managing traffic manager profiles.
-
redisCaches
- Returns:
- entry point to managing Redis Caches.
-
cdnProfiles
- Returns:
- entry point to managing cdn manager profiles.
-
dnsZones
- Returns:
- entry point to managing DNS zones.
-
webApps
- Returns:
- entry point to managing web apps.
-
appServices
@Beta public com.microsoft.azure.management.appservice.implementation.AppServiceManager appServices()- Returns:
- entry point to managing app services.
-
sqlServers
- Returns:
- entry point to managing Sql server.
-
serviceBusNamespaces
- Returns:
- entry point to managing Service Bus.
-
containerServices
- Returns:
- entry point to managing Container Services.
-
kubernetesClusters
- Returns:
- entry point to managing Kubernetes clusters.
-
containerGroups
- Returns:
- entry point to managing Azure Container Instances.
-
containerRegistries
- Returns:
- entry point to managing Container Registries.
-
containerRegistryTasks
- Returns:
- entry point to managing Container Registry RegistryTasks.
-
containerRegistryTaskRuns
- Returns:
- entry point to managing Container Registry RegistryTask Runs.
-
cosmosDBAccounts
- Returns:
- entry point to managing Container Regsitries.
-
searchServices
- Returns:
- entry point to managing Search services.
-
identities
- Returns:
- entry point to managing Managed Service Identity (MSI) identities.
-
accessManagement
- Returns:
- entry point to authentication and authorization management in Azure
-
activityLogs
- Returns:
- entry point to listing activity log events in Azure
-
metricDefinitions
- Returns:
- entry point to listing metric definitions in Azure
-
diagnosticSettings
- Returns:
- entry point to listing diagnostic settings in Azure
-
actionGroups
- Returns:
- entry point to managing action groups in Azure
-
alertRules
- Returns:
- entry point to managing alertRules in Azure
-
autoscaleSettings
- Returns:
- entry point to managing Autoscale Settings in Azure
-
eventHubNamespaces
- Returns:
- entry point to managing event hub namespaces.
-
eventHubs
- Returns:
- entry point to managing event hubs.
-
eventHubDisasterRecoveryPairings
- Returns:
- entry point to managing event hub namespace geo disaster recovery.
-
galleries
- Returns:
- entry point to manage compute galleries.
-
galleryImages
- Returns:
- entry point to manage compute gallery images.
-
galleryImageVersions
- Returns:
- entry point to manage compute gallery image versions.
-
storageBlobContainers
- Returns:
- the blob container management API entry point
-
storageBlobServices
- Returns:
- the blob service management API entry point
-
storageManagementPolicies
- Returns:
- the blob service management API entry point
-
tagOperations
- Returns:
- entry point to tag management management
-