Resource Constructors
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.
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, String, String) |
Initializes a new instance of the Resource class. |
Initializes a new instance of the Resource class.
public Resource ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
Initializes a new instance of the Resource class.
public Resource (string id = default, string name = default, string type = default);
new Microsoft.Azure.Management.MySQL.Models.Resource : string * string * string -> Microsoft.Azure.Management.MySQL.Models.Resource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Applies to
Azure SDK for .NET Legacy
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: