Compartilhar via


ResourceLockManagementCmdletBase.ResourceType Property

Definition

Gets or sets the resource type parameter.

[System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ResourceType { get; set; }
[System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByTenantLevel", ValueFromPipelineByPropertyName=true)]
public string ResourceType { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ResourceType : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="The resource type. e.g. Microsoft.Sql/Servers/Databases.", Mandatory=true, ParameterSetName="ByTenantLevel", ValueFromPipelineByPropertyName=true)>]
member this.ResourceType : string with get, set
Public Property ResourceType As String

Property Value

Attributes

Applies to