Targets interface
Interface representing a Targets.
Methods
create |
Create or update a Target resource that extends a tracked regional resource. |
delete(string, string, string, string, string, Targets |
Delete a Target resource that extends a tracked regional resource. |
get(string, string, string, string, string, Targets |
Get a Target resource that extends a tracked regional resource. |
list(string, string, string, string, Targets |
Get a list of Target resources that extend a tracked regional resource. |
Method Details
createOrUpdate(string, string, string, string, string, Target, TargetsCreateOrUpdateOptionalParams)
Create or update a Target resource that extends a tracked regional resource.
function createOrUpdate(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, target: Target, options?: TargetsCreateOrUpdateOptionalParams): Promise<Target>
Parameters
- 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.
The options parameters.
Returns
Promise<Target>
delete(string, string, string, string, string, TargetsDeleteOptionalParams)
Delete a Target resource that extends a tracked regional resource.
function delete(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, options?: TargetsDeleteOptionalParams): Promise<void>
Parameters
- 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.
- options
- TargetsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, string, string, TargetsGetOptionalParams)
Get a Target resource that extends a tracked regional resource.
function get(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, options?: TargetsGetOptionalParams): Promise<Target>
Parameters
- 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.
- options
- TargetsGetOptionalParams
The options parameters.
Returns
Promise<Target>
list(string, string, string, string, TargetsListOptionalParams)
Get a list of Target resources that extend a tracked regional resource.
function list(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, options?: TargetsListOptionalParams): PagedAsyncIterableIterator<Target, Target[], PageSettings>
Parameters
- 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.
- options
- TargetsListOptionalParams
The options parameters.