Sdílet prostřednictvím


TargetsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a Target resource that extends a tracked regional resource.

public static Microsoft.Azure.Management.Chaos.Models.Target CreateOrUpdate (this Microsoft.Azure.Management.Chaos.ITargetsOperations operations, string resourceGroupName, string parentProviderNamespace, string parentResourceType, string parentResourceName, string targetName, Microsoft.Azure.Management.Chaos.Models.Target target);
static member CreateOrUpdate : Microsoft.Azure.Management.Chaos.ITargetsOperations * string * string * string * string * string * Microsoft.Azure.Management.Chaos.Models.Target -> Microsoft.Azure.Management.Chaos.Models.Target
<Extension()>
Public Function CreateOrUpdate (operations As ITargetsOperations, resourceGroupName As String, parentProviderNamespace As String, parentResourceType As String, parentResourceName As String, targetName As String, target As Target) As Target

Parameters

operations
ITargetsOperations

The operations group for this extension method.

resourceGroupName
String

String that represents an Azure resource group.

parentProviderNamespace
String

String that represents a resource provider namespace.

parentResourceType
String

String that represents a resource type.

parentResourceName
String

String that represents a resource name.

targetName
String

String that represents a Target resource name.

target
Target

Target resource to be created or updated.

Returns

Applies to