HciClusterSecuritySettingCollection Class

Definition

A class representing a collection of HciClusterSecuritySettingResource and their operations. Each HciClusterSecuritySettingResource in the collection will belong to the same instance of HciClusterResource. To get a HciClusterSecuritySettingCollection instance call the GetHciClusterSecuritySettings method from an instance of HciClusterResource.

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

Constructors

HciClusterSecuritySettingCollection()

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

Create a security setting

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
CreateOrUpdateAsync(WaitUntil, String, HciClusterSecuritySettingData, CancellationToken)

Create a security setting

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
Get(String, CancellationToken)

Get a SecuritySetting

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
GetAll(CancellationToken)

List SecuritySetting resources by Clusters

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings
  • Operation Id: SecuritySettings_ListByClusters
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
GetAllAsync(CancellationToken)

List SecuritySetting resources by Clusters

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings
  • Operation Id: SecuritySettings_ListByClusters
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
GetAsync(String, CancellationToken)

Get a SecuritySetting

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}
  • Operation Id: SecuritySettings_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterSecuritySettingResource
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<HciClusterSecuritySettingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HciClusterSecuritySettingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to