ArmChaosModelFactory.ChaosActionVersionData Method
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.
public static Azure.ResourceManager.Chaos.ChaosActionVersionData ChaosActionVersionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string canonicalId = default, string displayName = default, string description = default, string actionName = default, string version = default, Azure.ResourceManager.Chaos.Models.ChaosActionKind? actionType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Chaos.Models.ChaosActionSupportedTargetType> supportedTargetTypes = default, Azure.ResourceManager.Chaos.Models.ChaosActionParametersSchema parametersSchema = default, System.Collections.Generic.IEnumerable<Guid> recommendedRoles = default);
static member ChaosActionVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<Azure.ResourceManager.Chaos.Models.ChaosActionKind> * seq<Azure.ResourceManager.Chaos.Models.ChaosActionSupportedTargetType> * Azure.ResourceManager.Chaos.Models.ChaosActionParametersSchema * seq<Guid> -> Azure.ResourceManager.Chaos.ChaosActionVersionData
Public Shared Function ChaosActionVersionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional canonicalId As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional actionName As String = Nothing, Optional version As String = Nothing, Optional actionType As Nullable(Of ChaosActionKind) = Nothing, Optional supportedTargetTypes As IEnumerable(Of ChaosActionSupportedTargetType) = Nothing, Optional parametersSchema As ChaosActionParametersSchema = Nothing, Optional recommendedRoles As IEnumerable(Of Guid) = Nothing) As ChaosActionVersionData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- canonicalId
- String
Canonical identifier of the action (e.g., "microsoft-compute-shutdown/1.0").
- displayName
- String
Human-readable display name of the action.
- description
- String
Description of what this action does.
- actionName
- String
The short name of the action (e.g., "Shutdown").
- version
- String
The version of the action (e.g., "1.0.0").
- actionType
- Nullable<ChaosActionKind>
The type of the action.
- supportedTargetTypes
- IEnumerable<ChaosActionSupportedTargetType>
List of target types supported by this action.
- parametersSchema
- ChaosActionParametersSchema
JSON Schema describing the parameters for this action.
- recommendedRoles
- IEnumerable<Guid>
Recommended Azure RBAC role definition GUIDs for this action.
Returns
A new ChaosActionVersionData instance for mocking.