ResourceLockManagementCmdletBase.ResourceType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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