Package com.azure.resourcemanager
Class AzureResourceManager
java.lang.Object
com.azure.resourcemanager.AzureResourceManager
The entry point for accessing resource management APIs in Azure.
Instantiating an Azure Client
AzureProfile profile = new AzureProfile(tenantId, subscriptionId, AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
AzureResourceManager azure = AzureResourceManager
.authenticate(credential, profile)
.withDefaultSubscription();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides authenticated access to a subset of Azure APIs that do not require a specific subscription.static interfaceThe interface allowing configurations to be made on the client. -
Method Summary
Modifier and TypeMethodDescriptionGets entry point to authentication and authorization management in Azure.com.azure.resourcemanager.monitor.models.ActionGroupsGets entry point to managing action groups in Azure.com.azure.resourcemanager.monitor.models.ActivityLogsGets entry point to listing activity log events in Azure.com.azure.resourcemanager.monitor.models.AlertRulesGets entry point to managing alertRules in Azure.com.azure.resourcemanager.network.models.ApplicationGatewaysGets entry point to managing application gateways.com.azure.resourcemanager.network.models.ApplicationSecurityGroupsGets entry point to managing express route circuits.com.azure.resourcemanager.appservice.models.AppServiceCertificateOrdersGets entry point to managing certificates orders.com.azure.resourcemanager.appservice.models.AppServiceCertificatesGets entry point to managing certificates.com.azure.resourcemanager.appservice.models.AppServiceDomainsGets entry point to managing domains.com.azure.resourcemanager.appservice.models.AppServicePlansGets entry point to managing app service plans.authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Authenticate to Azure using an Azure credential object.authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Authenticates API access using a RestClient instance.com.azure.resourcemanager.monitor.models.AutoscaleSettingsGets entry point to managing Autoscale Settings in Azure.com.azure.resourcemanager.compute.models.AvailabilitySetsGets entry point to managing availability sets.com.azure.resourcemanager.cdn.models.CdnProfilesGets entry point to managing cdn manager profiles.com.azure.resourcemanager.compute.models.ComputeSkusGets the compute service SKU management API entry point.com.azure.resourcemanager.compute.models.ComputeUsagesGets entry point to managing compute resource usages.Configures the Azure client.com.azure.resourcemanager.containerinstance.models.ContainerGroupsGets entry point to managing Azure Container Instances.com.azure.resourcemanager.containerregistry.models.RegistriesGets entry point to managing Container Registries.com.azure.resourcemanager.containerregistry.models.RegistryTaskRunsGets entry point to managing Container Registry RegistryTask Runs.com.azure.resourcemanager.containerregistry.models.RegistryTasksGets entry point to managing Container Registry RegistryTasks.com.azure.resourcemanager.cosmos.models.CosmosDBAccountsGets entry point to managing Container Regsitries.com.azure.resourcemanager.network.models.DdosProtectionPlansGets entry point to managing DDoS protection plans.com.azure.resourcemanager.resources.models.DeploymentsGets entry point to managing deployments.com.azure.resourcemanager.monitor.models.DiagnosticSettingsGets entry point to listing diagnostic settings in Azure.com.azure.resourcemanager.compute.models.DiskEncryptionSetsGets entry point to disk encryption sets management.com.azure.resourcemanager.compute.models.Disksdisks()Gets entry point to managing managed disks.com.azure.resourcemanager.dns.models.DnsZonesdnsZones()Gets entry point to managing DNS zones.com.azure.resourcemanager.eventhubs.models.EventHubDisasterRecoveryPairingsGets entry point to managing event hub namespace geo disaster recovery.com.azure.resourcemanager.eventhubs.models.EventHubNamespacesGets entry point to managing event hub namespaces.com.azure.resourcemanager.eventhubs.models.EventHubsGets entry point to managing event hubs.com.azure.resourcemanager.network.models.ExpressRouteCircuitsGets entry point to managing express route circuits.com.azure.resourcemanager.network.models.ExpressRouteCrossConnectionsGets entry point to managing express route cross connections.com.azure.resourcemanager.resources.models.Featuresfeatures()Gets entry point to managing features.com.azure.resourcemanager.appservice.models.FunctionAppsEntry point to managing function apps.com.azure.resourcemanager.compute.models.GalleriesGets entry point to managing compute galleries.com.azure.resourcemanager.compute.models.GalleryImagesGets entry point to managing compute gallery images.com.azure.resourcemanager.compute.models.GalleryImageVersionsGets entry point to managing compute gallery image versions.com.azure.resourcemanager.resources.models.GenericResourcesGets entry point to managing generic resources.com.azure.resourcemanager.resources.models.SubscriptionGets the currently selected subscription this client is authenticated to work with.com.azure.resourcemanager.msi.models.IdentitiesGets entry point to managing Managed Service Identity (MSI) identities.com.azure.resourcemanager.containerservice.models.KubernetesClustersGets entry point to managing Kubernetes clusters.com.azure.resourcemanager.network.models.LoadBalancersGets entry point to managing load balancers.com.azure.resourcemanager.network.models.LocalNetworkGatewaysGets entry point to managing local network gateways.com.azure.resourcemanager.keyvault.models.ManagedHsmsGets entry point to Managed Hardware Security Module management.com.azure.resourcemanager.resources.models.ManagementLocksGets entry point to managing locks.com.azure.resourcemanager.monitor.models.MetricDefinitionsGets entry point to listing metric definitions in Azure.com.azure.resourcemanager.network.models.NetworkInterfacesGets entry point to managing network interfaces.com.azure.resourcemanager.network.models.NetworkProfilesGets entry point to network profiles management.com.azure.resourcemanager.network.models.Networksnetworks()Gets entry point to managing virtual networks.com.azure.resourcemanager.network.models.NetworkSecurityGroupsGets entry point to managing network security groups.com.azure.resourcemanager.network.models.NetworkUsagesGets entry point to managing network resource usages.com.azure.resourcemanager.network.models.NetworkWatchersGets entry point to managing network watchers.com.azure.resourcemanager.resources.models.PolicyAssignmentsGets entry point to managing policy assignments.com.azure.resourcemanager.resources.models.PolicyDefinitionsGets entry point to managing policy definitions.com.azure.resourcemanager.privatedns.models.PrivateDnsZonesGets the private DNS zone management API entry point.com.azure.resourcemanager.network.models.PrivateEndpointsGets entry point to private endpoints management.com.azure.resourcemanager.resources.models.ProvidersGets entry point to managing resource providers.com.azure.resourcemanager.network.models.PublicIpAddressesGets entry point to managing public IP addresses.com.azure.resourcemanager.network.models.PublicIpPrefixesGets entry point to managing public IP prefixes.com.azure.resourcemanager.redis.models.RedisCachesGets entry point to managing Redis Caches.com.azure.resourcemanager.resources.models.ResourceGroupsGets entry point to managing resource groups.com.azure.resourcemanager.network.models.RouteFiltersGets entry point to managing route filters.com.azure.resourcemanager.network.models.RouteTablesGets entry point to managing route tables.com.azure.resourcemanager.search.models.SearchServicesGets entry point to managing Search services.com.azure.resourcemanager.servicebus.models.ServiceBusNamespacesGets entry point to managing Service Bus.com.azure.resourcemanager.compute.models.SnapshotsGets entry point to managing managed snapshots.com.azure.resourcemanager.appplatform.models.SpringServicesDeprecated.azure-resourcemanager-appplatform has been deprecated and will no longer be maintained after 03/31/2025.com.azure.resourcemanager.sql.models.SqlServersGets entry point to managing Sql server.com.azure.resourcemanager.storage.models.StorageAccountsEntry point to managing storage accountscom.azure.resourcemanager.storage.models.BlobContainersEntry point to blob container management API.com.azure.resourcemanager.storage.models.BlobServicesGets the blob service management API entry point.com.azure.resourcemanager.storage.models.ManagementPoliciesGets the blob service management API entry point.com.azure.resourcemanager.storage.models.StorageSkusGets entry point to managing storage service SKUs.com.azure.resourcemanager.storage.models.UsagesGets entry point to managing storage account usages.Gets the currently selected subscription ID this client is authenticated to work with.com.azure.resourcemanager.resources.models.SubscriptionsGets entry point to managing subscriptions.com.azure.resourcemanager.resources.models.TagOperationsGets entry point to tag management.tenantId()Gets the currently selected tenant ID this client is authenticated to work with.com.azure.resourcemanager.resources.models.Tenantstenants()Gets entry point to managing tenants.com.azure.resourcemanager.trafficmanager.models.TrafficManagerProfilesGets entry point to managing traffic manager profiles.com.azure.resourcemanager.keyvault.models.Vaultsvaults()Gets entry point to managing key vaults.com.azure.resourcemanager.compute.models.VirtualMachineCustomImagesGets entry point to managing virtual machine custom images.com.azure.resourcemanager.compute.models.VirtualMachineImagesGets entry point to managing virtual machine images.com.azure.resourcemanager.compute.models.VirtualMachinesEntry point to managing virtual machines.com.azure.resourcemanager.compute.models.VirtualMachineScaleSetsGets entry point to managing virtual machine scale sets.com.azure.resourcemanager.network.models.VirtualNetworkGatewaysGets entry point to managing virtual network gateways.com.azure.resourcemanager.appservice.models.WebAppswebApps()Gets entry point to managing web apps.
-
Method Details
-
authenticate
public static AzureResourceManager.Authenticated authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Authenticate to Azure using an Azure credential object.Code Samples
AzureProfile profile = new AzureProfile(tenantId, subscriptionId, AzureCloud.AZURE_PUBLIC_CLOUD); TokenCredential credential = new DefaultAzureCredentialBuilder() .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint()) .build(); AzureResourceManager azure = AzureResourceManager .authenticate(credential, profile) .withDefaultSubscription();- Parameters:
credential- the credential objectprofile- the profile to use- Returns:
- the authenticated Azure client
-
authenticate
public static AzureResourceManager.Authenticated authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Authenticates API access using a RestClient instance.- Parameters:
httpPipeline- theHttpPipelineconfigured with Azure authentication credential.profile- the profile used in Active Directory- Returns:
- authenticated Azure client
-
configure
Configures the Azure client.Code Samples
AzureResourceManager azure = AzureResourceManager .configure() .withLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .withPolicy(customPolicy) .withRetryPolicy(customRetryPolicy) .withHttpClient(httpClient) //...- Returns:
- an interface allow configurations on the client.
-
subscriptionId
Gets the currently selected subscription ID this client is authenticated to work with.- Returns:
- the currently selected subscription ID this client is authenticated to work with
-
tenantId
Gets the currently selected tenant ID this client is authenticated to work with.- Returns:
- the currently selected tenant ID this client is authenticated to work with
-
getCurrentSubscription
public com.azure.resourcemanager.resources.models.Subscription getCurrentSubscription()Gets the currently selected subscription this client is authenticated to work with.- Returns:
- the currently selected subscription this client is authenticated to work with
-
subscriptions
public com.azure.resourcemanager.resources.models.Subscriptions subscriptions()Gets entry point to managing subscriptions.- Returns:
- entry point to managing subscriptions
-
tenants
public com.azure.resourcemanager.resources.models.Tenants tenants()Gets entry point to managing tenants.- Returns:
- entry point to managing tenants
-
resourceGroups
public com.azure.resourcemanager.resources.models.ResourceGroups resourceGroups()Gets entry point to managing resource groups.- Returns:
- entry point to managing resource groups
-
deployments
public com.azure.resourcemanager.resources.models.Deployments deployments()Gets entry point to managing deployments.- Returns:
- entry point to managing deployments
-
genericResources
public com.azure.resourcemanager.resources.models.GenericResources genericResources()Gets entry point to managing generic resources.- Returns:
- entry point to managing generic resources
-
features
public com.azure.resourcemanager.resources.models.Features features()Gets entry point to managing features.- Returns:
- entry point to managing features
-
providers
public com.azure.resourcemanager.resources.models.Providers providers()Gets entry point to managing resource providers.- Returns:
- entry point to managing resource providers
-
policyDefinitions
public com.azure.resourcemanager.resources.models.PolicyDefinitions policyDefinitions()Gets entry point to managing policy definitions.- Returns:
- entry point to managing policy definitions.
-
policyAssignments
public com.azure.resourcemanager.resources.models.PolicyAssignments policyAssignments()Gets entry point to managing policy assignments.- Returns:
- entry point to managing policy assignments.
-
managementLocks
public com.azure.resourcemanager.resources.models.ManagementLocks managementLocks()Gets entry point to managing locks.- Returns:
- entry point to managing locks.
-
storageAccounts
public com.azure.resourcemanager.storage.models.StorageAccounts storageAccounts()Entry point to managing storage accountsCode Samples
Create an Azure Storage Account
azure.storageAccounts().define("<storage-account-name>") .withRegion(Region.US_EAST) .withNewResourceGroup(resourceGroupName) .withSku(StorageAccountSkuType.STANDARD_LRS) .withGeneralPurposeAccountKindV2() .withOnlyHttpsTraffic() //... .create();- Returns:
- entry point to managing storage accounts
-
storageUsages
public com.azure.resourcemanager.storage.models.Usages storageUsages()Gets entry point to managing storage account usages.- Returns:
- entry point to managing storage account usages
-
storageSkus
public com.azure.resourcemanager.storage.models.StorageSkus storageSkus()Gets entry point to managing storage service SKUs.- Returns:
- entry point to managing storage service SKUs
-
availabilitySets
public com.azure.resourcemanager.compute.models.AvailabilitySets availabilitySets()Gets entry point to managing availability sets.- Returns:
- entry point to managing availability sets
-
networks
public com.azure.resourcemanager.network.models.Networks networks()Gets entry point to managing virtual networks.- Returns:
- entry point to managing virtual networks
-
routeTables
public com.azure.resourcemanager.network.models.RouteTables routeTables()Gets entry point to managing route tables.- Returns:
- entry point to managing route tables
-
loadBalancers
public com.azure.resourcemanager.network.models.LoadBalancers loadBalancers()Gets entry point to managing load balancers.- Returns:
- entry point to managing load balancers
-
applicationGateways
public com.azure.resourcemanager.network.models.ApplicationGateways applicationGateways()Gets entry point to managing application gateways.- Returns:
- entry point to managing application gateways
-
networkSecurityGroups
public com.azure.resourcemanager.network.models.NetworkSecurityGroups networkSecurityGroups()Gets entry point to managing network security groups.- Returns:
- entry point to managing network security groups
-
networkUsages
public com.azure.resourcemanager.network.models.NetworkUsages networkUsages()Gets entry point to managing network resource usages.- Returns:
- entry point to managing network resource usages
-
networkWatchers
public com.azure.resourcemanager.network.models.NetworkWatchers networkWatchers()Gets entry point to managing network watchers.- Returns:
- entry point to managing network watchers
-
virtualNetworkGateways
public com.azure.resourcemanager.network.models.VirtualNetworkGateways virtualNetworkGateways()Gets entry point to managing virtual network gateways.- Returns:
- entry point to managing virtual network gateways
-
localNetworkGateways
public com.azure.resourcemanager.network.models.LocalNetworkGateways localNetworkGateways()Gets entry point to managing local network gateways.- Returns:
- entry point to managing local network gateways
-
expressRouteCircuits
public com.azure.resourcemanager.network.models.ExpressRouteCircuits expressRouteCircuits()Gets entry point to managing express route circuits.- Returns:
- entry point to managing express route circuits
-
expressRouteCrossConnections
public com.azure.resourcemanager.network.models.ExpressRouteCrossConnections expressRouteCrossConnections()Gets entry point to managing express route cross connections.- Returns:
- entry point to managing express route cross connections
-
applicationSecurityGroups
public com.azure.resourcemanager.network.models.ApplicationSecurityGroups applicationSecurityGroups()Gets entry point to managing express route circuits.- Returns:
- entry point to managing express route circuits
-
routeFilters
public com.azure.resourcemanager.network.models.RouteFilters routeFilters()Gets entry point to managing route filters.- Returns:
- entry point to managing route filters
-
ddosProtectionPlans
public com.azure.resourcemanager.network.models.DdosProtectionPlans ddosProtectionPlans()Gets entry point to managing DDoS protection plans.- Returns:
- entry point to managing DDoS protection plans
-
virtualMachines
public com.azure.resourcemanager.compute.models.VirtualMachines virtualMachines()Entry point to managing virtual machines.Code Samples
Create a Virtual Machine instance.
VirtualMachine linuxVM = azure.virtualMachines() .define(linuxVMName) .withRegion(region) .withNewResourceGroup(resourceGroupName) .withNewPrimaryNetwork("10.0.0.0/28") .withPrimaryPrivateIPAddressDynamic() .withoutPrimaryPublicIPAddress() .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_20_04_LTS_GEN2) .withRootUsername(userName) .withSsh(sshPublicKey) .withNewDataDisk(10) .withExistingDataDisk(dataDisk) .withSize(VirtualMachineSizeTypes.STANDARD_DS1_V2) .create();Restart Virtual Machine instance.
azure.virtualMachines().listByResourceGroupAsync(resourceGroupName) .flatMap(VirtualMachine::restartAsync) //...- Returns:
- entry point to managing virtual machines
-
virtualMachineScaleSets
public com.azure.resourcemanager.compute.models.VirtualMachineScaleSets virtualMachineScaleSets()Gets entry point to managing virtual machine scale sets.- Returns:
- entry point to managing virtual machine scale sets.
-
virtualMachineImages
public com.azure.resourcemanager.compute.models.VirtualMachineImages virtualMachineImages()Gets entry point to managing virtual machine images.- Returns:
- entry point to managing virtual machine images
-
virtualMachineCustomImages
public com.azure.resourcemanager.compute.models.VirtualMachineCustomImages virtualMachineCustomImages()Gets entry point to managing virtual machine custom images.- Returns:
- entry point to managing virtual machine custom images
-
disks
public com.azure.resourcemanager.compute.models.Disks disks()Gets entry point to managing managed disks.- Returns:
- entry point to managing managed disks
-
snapshots
public com.azure.resourcemanager.compute.models.Snapshots snapshots()Gets entry point to managing managed snapshots.- Returns:
- entry point to managing managed snapshots
-
computeSkus
public com.azure.resourcemanager.compute.models.ComputeSkus computeSkus()Gets the compute service SKU management API entry point.- Returns:
- the compute service SKU management API entry point
-
publicIpAddresses
public com.azure.resourcemanager.network.models.PublicIpAddresses publicIpAddresses()Gets entry point to managing public IP addresses.- Returns:
- entry point to managing public IP addresses
-
publicIpPrefixes
public com.azure.resourcemanager.network.models.PublicIpPrefixes publicIpPrefixes()Gets entry point to managing public IP prefixes.- Returns:
- entry point to managing public IP prefixes
-
networkInterfaces
public com.azure.resourcemanager.network.models.NetworkInterfaces networkInterfaces()Gets entry point to managing network interfaces.- Returns:
- entry point to managing network interfaces
-
computeUsages
public com.azure.resourcemanager.compute.models.ComputeUsages computeUsages()Gets entry point to managing compute resource usages.- Returns:
- entry point to managing compute resource usages
-
vaults
public com.azure.resourcemanager.keyvault.models.Vaults vaults()Gets entry point to managing key vaults.- Returns:
- entry point to managing key vaults
-
trafficManagerProfiles
public com.azure.resourcemanager.trafficmanager.models.TrafficManagerProfiles trafficManagerProfiles()Gets entry point to managing traffic manager profiles.- Returns:
- entry point to managing traffic manager profiles.
-
redisCaches
public com.azure.resourcemanager.redis.models.RedisCaches redisCaches()Gets entry point to managing Redis Caches.- Returns:
- entry point to managing Redis Caches.
-
cdnProfiles
public com.azure.resourcemanager.cdn.models.CdnProfiles cdnProfiles()Gets entry point to managing cdn manager profiles.- Returns:
- entry point to managing cdn manager profiles.
-
dnsZones
public com.azure.resourcemanager.dns.models.DnsZones dnsZones()Gets entry point to managing DNS zones.- Returns:
- entry point to managing DNS zones.
-
webApps
public com.azure.resourcemanager.appservice.models.WebApps webApps()Gets entry point to managing web apps.- Returns:
- entry point to managing web apps.
-
functionApps
public com.azure.resourcemanager.appservice.models.FunctionApps functionApps()Entry point to managing function apps.Code Samples
Create an Azure Function App
Creatable<StorageAccount> creatableStorageAccount = azure.storageAccounts() .define("<storage-account-name>") .withRegion(Region.US_EAST) .withExistingResourceGroup(resourceGroupName) .withGeneralPurposeAccountKindV2() .withSku(StorageAccountSkuType.STANDARD_LRS); Creatable<AppServicePlan> creatableAppServicePlan = azure.appServicePlans() .define("<app-service-plan-name>") .withRegion(Region.US_EAST) .withExistingResourceGroup(resourceGroupName) .withPricingTier(PricingTier.STANDARD_S1) .withOperatingSystem(OperatingSystem.LINUX); FunctionApp linuxFunctionApp = azure.functionApps().define("<function-app-name>") .withRegion(Region.US_EAST) .withExistingResourceGroup(resourceGroupName) .withNewLinuxAppServicePlan(creatableAppServicePlan) .withBuiltInImage(FunctionRuntimeStack.JAVA_8) .withNewStorageAccount(creatableStorageAccount) .withHttpsOnly(true) .withAppSetting("WEBSITE_RUN_FROM_PACKAGE", "<function-app-package-url>") .create();- Returns:
- entry point to managing function apps.
-
appServicePlans
public com.azure.resourcemanager.appservice.models.AppServicePlans appServicePlans()Gets entry point to managing app service plans.- Returns:
- entry point to managing app service plans.
-
appServiceDomains
public com.azure.resourcemanager.appservice.models.AppServiceDomains appServiceDomains()Gets entry point to managing domains.- Returns:
- entry point to managing domains.
-
appServiceCertificates
public com.azure.resourcemanager.appservice.models.AppServiceCertificates appServiceCertificates()Gets entry point to managing certificates.- Returns:
- entry point to managing certificates.
-
appServiceCertificateOrders
public com.azure.resourcemanager.appservice.models.AppServiceCertificateOrders appServiceCertificateOrders()Gets entry point to managing certificates orders.- Returns:
- entry point to managing certificates orders.
-
sqlServers
public com.azure.resourcemanager.sql.models.SqlServers sqlServers()Gets entry point to managing Sql server.- Returns:
- entry point to managing Sql server.
-
serviceBusNamespaces
public com.azure.resourcemanager.servicebus.models.ServiceBusNamespaces serviceBusNamespaces()Gets entry point to managing Service Bus.- Returns:
- entry point to managing Service Bus.
-
kubernetesClusters
public com.azure.resourcemanager.containerservice.models.KubernetesClusters kubernetesClusters()Gets entry point to managing Kubernetes clusters.- Returns:
- entry point to managing Kubernetes clusters.
-
containerGroups
public com.azure.resourcemanager.containerinstance.models.ContainerGroups containerGroups()Gets entry point to managing Azure Container Instances.- Returns:
- entry point to managing Azure Container Instances.
-
containerRegistries
public com.azure.resourcemanager.containerregistry.models.Registries containerRegistries()Gets entry point to managing Container Registries.- Returns:
- entry point to managing Container Registries.
-
containerRegistryTasks
public com.azure.resourcemanager.containerregistry.models.RegistryTasks containerRegistryTasks()Gets entry point to managing Container Registry RegistryTasks.- Returns:
- entry point to managing Container Registry RegistryTasks.
-
containerRegistryTaskRuns
public com.azure.resourcemanager.containerregistry.models.RegistryTaskRuns containerRegistryTaskRuns()Gets entry point to managing Container Registry RegistryTask Runs.- Returns:
- entry point to managing Container Registry RegistryTask Runs.
-
cosmosDBAccounts
public com.azure.resourcemanager.cosmos.models.CosmosDBAccounts cosmosDBAccounts()Gets entry point to managing Container Regsitries.- Returns:
- entry point to managing Container Regsitries.
-
searchServices
public com.azure.resourcemanager.search.models.SearchServices searchServices()Gets entry point to managing Search services.- Returns:
- entry point to managing Search services.
-
identities
public com.azure.resourcemanager.msi.models.Identities identities()Gets entry point to managing Managed Service Identity (MSI) identities.- Returns:
- entry point to managing Managed Service Identity (MSI) identities.
-
accessManagement
Gets entry point to authentication and authorization management in Azure.- Returns:
- entry point to authentication and authorization management in Azure
-
activityLogs
public com.azure.resourcemanager.monitor.models.ActivityLogs activityLogs()Gets entry point to listing activity log events in Azure.- Returns:
- entry point to listing activity log events in Azure
-
metricDefinitions
public com.azure.resourcemanager.monitor.models.MetricDefinitions metricDefinitions()Gets entry point to listing metric definitions in Azure.- Returns:
- entry point to listing metric definitions in Azure
-
diagnosticSettings
public com.azure.resourcemanager.monitor.models.DiagnosticSettings diagnosticSettings()Gets entry point to listing diagnostic settings in Azure.- Returns:
- entry point to listing diagnostic settings in Azure
-
actionGroups
public com.azure.resourcemanager.monitor.models.ActionGroups actionGroups()Gets entry point to managing action groups in Azure.- Returns:
- entry point to managing action groups in Azure
-
alertRules
public com.azure.resourcemanager.monitor.models.AlertRules alertRules()Gets entry point to managing alertRules in Azure.- Returns:
- entry point to managing alertRules in Azure
-
autoscaleSettings
public com.azure.resourcemanager.monitor.models.AutoscaleSettings autoscaleSettings()Gets entry point to managing Autoscale Settings in Azure.- Returns:
- entry point to managing Autoscale Settings in Azure
-
eventHubNamespaces
public com.azure.resourcemanager.eventhubs.models.EventHubNamespaces eventHubNamespaces()Gets entry point to managing event hub namespaces.- Returns:
- entry point to managing event hub namespaces.
-
eventHubs
public com.azure.resourcemanager.eventhubs.models.EventHubs eventHubs()Gets entry point to managing event hubs.- Returns:
- entry point to managing event hubs.
-
eventHubDisasterRecoveryPairings
public com.azure.resourcemanager.eventhubs.models.EventHubDisasterRecoveryPairings eventHubDisasterRecoveryPairings()Gets entry point to managing event hub namespace geo disaster recovery.- Returns:
- entry point to managing event hub namespace geo disaster recovery.
-
galleries
public com.azure.resourcemanager.compute.models.Galleries galleries()Gets entry point to managing compute galleries.- Returns:
- entry point to managing compute galleries.
-
galleryImages
public com.azure.resourcemanager.compute.models.GalleryImages galleryImages()Gets entry point to managing compute gallery images.- Returns:
- entry point to managing compute gallery images.
-
galleryImageVersions
public com.azure.resourcemanager.compute.models.GalleryImageVersions galleryImageVersions()Gets entry point to managing compute gallery image versions.- Returns:
- entry point to managing compute gallery image versions.
-
storageBlobContainers
public com.azure.resourcemanager.storage.models.BlobContainers storageBlobContainers()Entry point to blob container management API.Code Samples
Create a Blob Container
azure.storageBlobContainers() .defineContainer("container") .withExistingStorageAccount(storageAccount) .withPublicAccess(PublicAccess.NONE) //... .create();- Returns:
- the blob container management API entry point
-
storageBlobServices
public com.azure.resourcemanager.storage.models.BlobServices storageBlobServices()Gets the blob service management API entry point.- Returns:
- the blob service management API entry point
-
storageManagementPolicies
public com.azure.resourcemanager.storage.models.ManagementPolicies storageManagementPolicies()Gets the blob service management API entry point.- Returns:
- the blob service management API entry point
-
springServices
Deprecated.azure-resourcemanager-appplatform has been deprecated and will no longer be maintained after 03/31/2025.We recommend azure-resourcemanager-appcontainers and azure-resourcemanager-containerservice as the replacement libraries.
Refer to Azure Spring Apps retirement announcement for more retirement details and how to migrate to the new services.
Refer to our deprecation policy for more details.
Gets the spring service management API entry point.- Returns:
- the spring service management API entry point
-
privateDnsZones
public com.azure.resourcemanager.privatedns.models.PrivateDnsZones privateDnsZones()Gets the private DNS zone management API entry point.- Returns:
- the private DNS zone management API entry point
-
privateEndpoints
public com.azure.resourcemanager.network.models.PrivateEndpoints privateEndpoints()Gets entry point to private endpoints management.- Returns:
- entry point to private endpoints management
-
tagOperations
public com.azure.resourcemanager.resources.models.TagOperations tagOperations()Gets entry point to tag management.- Returns:
- entry point to tag management
-
networkProfiles
public com.azure.resourcemanager.network.models.NetworkProfiles networkProfiles()Gets entry point to network profiles management.- Returns:
- entry point to network profiles management
-
diskEncryptionSets
public com.azure.resourcemanager.compute.models.DiskEncryptionSets diskEncryptionSets()Gets entry point to disk encryption sets management.- Returns:
- entry point to disk encryption sets management
-
managedHsms
public com.azure.resourcemanager.keyvault.models.ManagedHsms managedHsms()Gets entry point to Managed Hardware Security Module management.- Returns:
- entry point to Managed Hardware Security Module management
-