Share via


MockableHciVmArmClient.GetHciVmSecurityRuleResource Method

Definition

Gets an object representing a HciVmSecurityRuleResource 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 HciVmSecurityRuleResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Hci.Vm.HciVmSecurityRuleResource GetHciVmSecurityRuleResource(Azure.Core.ResourceIdentifier id);
abstract member GetHciVmSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.Vm.HciVmSecurityRuleResource
override this.GetHciVmSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.Vm.HciVmSecurityRuleResource
Public Overridable Function GetHciVmSecurityRuleResource (id As ResourceIdentifier) As HciVmSecurityRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a HciVmSecurityRuleResource object.

Applies to