Type Parameters:
T - the initial blank definition interface
All Known Subinterfaces:
ActionGroups, ActiveDirectoryApplications, ActiveDirectoryGroups, ActiveDirectoryUsers, ActivityLogAlerts, ApplicationGateways, ApplicationSecurityGroups, AppServiceCertificateOrders, AppServiceCertificates, AppServiceDomains, AppServicePlans, AutoscaleSettings, AvailabilitySets, BatchAccounts, BatchAIClusters, BatchAIExperiments, BatchAIFileServers, BatchAIJobs, BatchAIWorkspaces, BlobServices, CdnProfiles, ConnectionMonitors, ContainerGroups, ContainerServices, CosmosDBAccounts, DdosProtectionPlans, Deployments, DeploymentSlots, DiagnosticSettings, Disks, DnsZones, EventHubAuthorizationRules, EventHubConsumerGroups, EventHubDisasterRecoveryPairings, EventHubNamespaceAuthorizationRules, EventHubNamespaces, EventHubs, ExpressRouteCircuits, FunctionApps, FunctionDeploymentSlots, Galleries, GalleryImages, GalleryImageVersions, GenericResources, Identities, Keys, KubernetesClusters, LoadBalancers, LocalNetworkGateways, ManagementLocks, ManagementPolicies, MetricAlerts, NamespaceAuthorizationRules, NetworkInterfaces, NetworkPeerings, Networks, NetworkSecurityGroups, NetworkWatchers, PacketCaptures, PolicyAssignments, PolicyDefinitions, PublicIPAddresses, PublicIPPrefixes, QueueAuthorizationRules, Queues, RedisCaches, Registries, RegistryTasks, ResourceGroups, RoleAssignments, RouteFilters, RouteTables, SearchServices, Secrets, ServiceBusNamespaces, ServiceBusSubscriptions, ServicePrincipals, Snapshots, SqlDatabaseOperations, SqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyOperations, SqlElasticPoolOperations, SqlFailoverGroupOperations, SqlFirewallRuleOperations, SqlServerDnsAliasOperations, SqlServers, SqlSyncGroupOperations, SqlSyncMemberOperations, SqlVirtualNetworkRuleOperations, StorageAccounts, TopicAuthorizationRules, Topics, TrafficManagerProfiles, Vaults, VirtualMachineCustomImages, VirtualMachines, VirtualMachineScaleSets, VirtualNetworkGatewayConnections, VirtualNetworkGateways, WebApps

public interface SupportsCreating<T>
Providing access to creating Azure top level resources.

(Note: this interface is not intended to be implemented by user code)

  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins a definition for a new resource.
  • Method Details

    • define

      T define(String name)
      Begins a definition for a new resource.

      This is the beginning of the builder pattern used to create top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is Creatable.create().

      Note that the Creatable.create() method is only available at the stage of the resource definition that has the minimum set of input parameters specified. If you do not see Creatable.create() among the available methods, it means you have not yet specified all the required input settings. Input settings generally begin with the word "with", for example: .withNewResourceGroup() and return the next stage of the resource definition, as an interface in the "fluent interface" style.

      Parameters:
      name - the name of the new resource
      Returns:
      the first stage of the new resource definition