Share via


MockableNetworkArmClient.GetSecurityRuleResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Network.SecurityRuleResource GetSecurityRuleResource (Azure.Core.ResourceIdentifier id);
abstract member GetSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.SecurityRuleResource
override this.GetSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.SecurityRuleResource
Public Overridable Function GetSecurityRuleResource (id As ResourceIdentifier) As SecurityRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecurityRuleResource object.

Applies to