Interface SupportsBatchCreation<ResourceT extends Indexable>

Type Parameters:
ResourceT - the top level Azure resource type
All Known Subinterfaces:
ActionGroups, ActiveDirectoryApplications, ActivityLogAlerts, ApplicationGateways, ApplicationSecurityGroups, AutoscaleSettings, AvailabilitySets, BatchAccounts, BatchAIWorkspaces, CdnProfiles, ContainerGroups, ContainerServices, CosmosDBAccounts, DdosProtectionPlans, DiagnosticSettings, Disks, DnsZones, EventHubNamespaces, ExpressRouteCircuits, Identities, KubernetesClusters, LoadBalancers, ManagementLocks, MetricAlerts, NetworkInterfaces, NetworkPeerings, Networks, NetworkSecurityGroups, NetworkWatchers, PublicIPAddresses, PublicIPPrefixes, RedisCaches, Registries, ResourceGroups, RoleAssignments, RouteFilters, RouteTables, SearchServices, ServiceBusNamespaces, Snapshots, SqlServers, StorageAccounts, TrafficManagerProfiles, VirtualMachineCustomImages, VirtualMachines, VirtualMachineScaleSets, VirtualNetworkGateways

public interface SupportsBatchCreation<ResourceT extends Indexable>
Providing access to creating a batch of Azure top level resources of same type.

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

  • Method Details

    • create

      CreatedResources<ResourceT> create(Creatable<ResourceT>... creatables)
      Executes the create requests on a collection (batch) of resources.
      Parameters:
      creatables - the creatables in the batch
      Returns:
      the batch operation result from which created resources in this batch can be accessed.
    • create

      Executes the create requests on a collection (batch) of resources.
      Parameters:
      creatables - the list of creatables in the batch
      Returns:
      the batch operation result from which created resources in this batch can be accessed.
    • createAsync

      rx.Observable<Indexable> createAsync(Creatable<ResourceT>... creatables)
      Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when system resources are available.
      Parameters:
      creatables - the creatables in the batch
      Returns:
      an observable for the resources
    • createAsync

      rx.Observable<Indexable> createAsync(List<Creatable<ResourceT>> creatables)
      Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when system resources are available.
      Parameters:
      creatables - the list of creatables in the batch
      Returns:
      an observable for the resources
    • createAsync

      com.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables)
      Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when system resources are available.
      Parameters:
      callback - the callback to handle success and failure
      creatables - the creatables in the batch
      Returns:
      a handle to cancel the request
    • createAsync

      com.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables)
      Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when system resources are available.
      Parameters:
      callback - the callback to handle success and failure
      creatables - the list of creatables in the batch
      Returns:
      a handle to cancel the request