共用方式為


MockableSecurityCenterArmClient.GetSubscriptionSecurityTaskResource Method

Definition

Gets an object representing a SubscriptionSecurityTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a SubscriptionSecurityTaskResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource GetSubscriptionSecurityTaskResource (Azure.Core.ResourceIdentifier id);
abstract member GetSubscriptionSecurityTaskResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource
override this.GetSubscriptionSecurityTaskResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.SubscriptionSecurityTaskResource
Public Overridable Function GetSubscriptionSecurityTaskResource (id As ResourceIdentifier) As SubscriptionSecurityTaskResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SubscriptionSecurityTaskResource object.

Applies to