共用方式為


SecurityCloudConnectorCollection Class

Definition

A class representing a collection of SecurityCloudConnectorResource and their operations. Each SecurityCloudConnectorResource in the collection will belong to the same instance of SubscriptionResource. To get a SecurityCloudConnectorCollection instance call the GetSecurityCloudConnectors method from an instance of SubscriptionResource.

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

Constructors

SecurityCloudConnectorCollection()

Initializes a new instance of the SecurityCloudConnectorCollection 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, SecurityCloudConnectorData, CancellationToken)

Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_CreateOrUpdate
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
CreateOrUpdateAsync(WaitUntil, String, SecurityCloudConnectorData, CancellationToken)

Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_CreateOrUpdate
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
Get(String, CancellationToken)

Details of a specific cloud account connector

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetAll(CancellationToken)

Cloud accounts connectors of a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors
  • Operation Id: Connectors_List
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetAllAsync(CancellationToken)

Cloud accounts connectors of a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors
  • Operation Id: Connectors_List
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetAsync(String, CancellationToken)

Details of a specific cloud account connector

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
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<SecurityCloudConnectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityCloudConnectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to