NetworkCloudClusterResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a NetworkCloudCluster along with the instance operations that can be performed on it. If you have a ResourceIdentifier you can construct a NetworkCloudClusterResource from an instance of ArmClient using the GetResource method. Otherwise you can get one from its parent resource ResourceGroupResource using the GetNetworkCloudClusters method.
public class NetworkCloudClusterResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterData>
type NetworkCloudClusterResource = class
inherit ArmResource
interface IJsonModel<NetworkCloudClusterData>
interface IPersistableModel<NetworkCloudClusterData>
Public Class NetworkCloudClusterResource
Inherits ArmResource
Implements IJsonModel(Of NetworkCloudClusterData), IPersistableModel(Of NetworkCloudClusterData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| NetworkCloudClusterResource() |
Initializes a new instance of NetworkCloudClusterResource for mocking. |
Fields
| Name | Description |
|---|---|
| ResourceType |
Gets the resource type for the operations. |
Properties
| Name | Description |
|---|---|
| Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmResource) |
| Data |
Gets the data representing this Feature. |
| Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmResource) |
| Endpoint |
Gets the base uri for this resource client. (Inherited from ArmResource) |
| HasData |
Gets whether or not the current instance has data. |
| Id |
Gets the resource identifier. (Inherited from ArmResource) |
| Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmResource) |
Methods
| Name | Description |
|---|---|
| AddTag(String, String, CancellationToken) |
Add a tag to the current resource. |
| AddTagAsync(String, String, CancellationToken) |
Add a tag to the current resource. |
| CanUseTagResource(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
| CanUseTagResourceAsync(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
| ContinueUpdateVersion(WaitUntil, ClusterContinueUpdateVersionContent, CancellationToken) |
Trigger the continuation of an update for a cluster with a matching update strategy that has paused after completing a segment of the update.
|
| ContinueUpdateVersionAsync(WaitUntil, ClusterContinueUpdateVersionContent, CancellationToken) |
Trigger the continuation of an update for a cluster with a matching update strategy that has paused after completing a segment of the update.
|
| CreateResourceIdentifier(String, String, String) |
Generate the resource identifier for this resource. |
| Delete(WaitUntil, MatchConditions, CancellationToken) |
Delete the provided cluster.
|
| DeleteAsync(WaitUntil, MatchConditions, CancellationToken) |
Delete the provided cluster.
|
| Deploy(WaitUntil, ClusterDeployContent, CancellationToken) |
Deploy the cluster using the rack configuration provided during creation.
|
| DeployAsync(WaitUntil, ClusterDeployContent, CancellationToken) |
Deploy the cluster using the rack configuration provided during creation.
|
| Get(CancellationToken) |
Get properties of the provided cluster.
|
| GetAsync(CancellationToken) |
Get properties of the provided cluster.
|
| GetAvailableLocations(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
| GetAvailableLocationsAsync(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
| GetManagementLock(String, CancellationToken) |
Get a management lock by scope.
|
| GetManagementLockAsync(String, CancellationToken) |
Get a management lock by scope.
|
| GetManagementLocks() |
Gets a collection of ManagementLockResources in the ArmResource. (Inherited from ArmResource) |
| GetNetworkCloudBareMetalMachineKeySet(String, CancellationToken) |
Get bare metal machine key set of the provided cluster. |
| GetNetworkCloudBareMetalMachineKeySetAsync(String, CancellationToken) |
Get bare metal machine key set of the provided cluster. |
| GetNetworkCloudBareMetalMachineKeySets() |
Gets a collection of NetworkCloudBareMetalMachineKeySets in the NetworkCloudClusterResource. |
| GetNetworkCloudBmcKeySet(String, CancellationToken) |
Get baseboard management controller key set of the provided cluster. |
| GetNetworkCloudBmcKeySetAsync(String, CancellationToken) |
Get baseboard management controller key set of the provided cluster. |
| GetNetworkCloudBmcKeySets() |
Gets a collection of NetworkCloudBmcKeySets in the NetworkCloudClusterResource. |
| GetNetworkCloudClusterMetricsConfiguration(String, CancellationToken) |
Get metrics configuration of the provided cluster. |
| GetNetworkCloudClusterMetricsConfigurationAsync(String, CancellationToken) |
Get metrics configuration of the provided cluster. |
| GetNetworkCloudClusterMetricsConfigurations() |
Gets a collection of NetworkCloudClusterMetricsConfigurations in the NetworkCloudClusterResource. |
| GetPolicyAssignment(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
| GetPolicyAssignmentAsync(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
| GetPolicyAssignments() |
Gets a collection of PolicyAssignmentResources in the ArmResource. (Inherited from ArmResource) |
| GetTagResource() |
Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource. (Inherited from ArmResource) |
| Inspect(WaitUntil, NetworkCloudClusterInspectContent, CancellationToken) |
Trigger an inspection of the cluster to perform validation and optional corrective actions based on the supplied additional actions and filters.
|
| InspectAsync(WaitUntil, NetworkCloudClusterInspectContent, CancellationToken) |
Trigger an inspection of the cluster to perform validation and optional corrective actions based on the supplied additional actions and filters.
|
| RemoveTag(String, CancellationToken) |
Removes a tag by key from the resource. |
| RemoveTagAsync(String, CancellationToken) |
Removes a tag by key from the resource. |
| ScanRuntime(WaitUntil, ClusterScanRuntimeContent, CancellationToken) |
Triggers the execution of a runtime protection scan to detect and remediate detected issues, in accordance with the cluster configuration.
|
| ScanRuntimeAsync(WaitUntil, ClusterScanRuntimeContent, CancellationToken) |
Triggers the execution of a runtime protection scan to detect and remediate detected issues, in accordance with the cluster configuration.
|
| SetTags(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set. |
| SetTagsAsync(IDictionary<String,String>, CancellationToken) |
Replace the tags on the resource with the given set. |
| TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmResource) |
| Update(WaitUntil, NetworkCloudClusterPatch, MatchConditions, CancellationToken) |
Patch the properties of the provided cluster, or update the tags associated with the cluster. Properties and tag updates can be done independently.
|
| UpdateAsync(WaitUntil, NetworkCloudClusterPatch, MatchConditions, CancellationToken) |
Patch the properties of the provided cluster, or update the tags associated with the cluster. Properties and tag updates can be done independently.
|
| UpdateVersion(WaitUntil, ClusterUpdateVersionContent, CancellationToken) |
Update the version of the provided cluster to one of the available supported versions.
|
| UpdateVersionAsync(WaitUntil, ClusterUpdateVersionContent, CancellationToken) |
Update the version of the provided cluster to one of the available supported versions.
|
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<NetworkCloudClusterData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<NetworkCloudClusterData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<NetworkCloudClusterData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<NetworkCloudClusterData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<NetworkCloudClusterData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |