次の方法で共有


SphereDeploymentCollection Class

Definition

A class representing a collection of SphereDeploymentResource and their operations. Each SphereDeploymentResource in the collection will belong to the same instance of SphereDeviceGroupResource. To get a SphereDeploymentCollection instance call the GetSphereDeployments method from an instance of SphereDeviceGroupResource.

public class SphereDeploymentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sphere.SphereDeploymentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sphere.SphereDeploymentResource>
type SphereDeploymentCollection = class
    inherit ArmCollection
    interface seq<SphereDeploymentResource>
    interface IEnumerable
    interface IAsyncEnumerable<SphereDeploymentResource>
Public Class SphereDeploymentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SphereDeploymentResource), IEnumerable(Of SphereDeploymentResource)
Inheritance
SphereDeploymentCollection
Implements

Constructors

SphereDeploymentCollection()

Initializes a new instance of the SphereDeploymentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SphereDeploymentData, CancellationToken)

Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
CreateOrUpdateAsync(WaitUntil, String, SphereDeploymentData, CancellationToken)

Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
Get(String, CancellationToken)

Get a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments
  • Operation Id: Deployments_ListByDeviceGroup
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments
  • Operation Id: Deployments_ListByDeviceGroup
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
GetAsync(String, CancellationToken)

Get a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeploymentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SphereDeploymentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SphereDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to