Udostępnij za pośrednictwem


QueueServiceProperties Constructors

Definition

Overloads

QueueServiceProperties()

Initializes a new instance of the QueueServiceProperties class.

QueueServiceProperties(String, String, String, CorsRules)

Initializes a new instance of the QueueServiceProperties class.

QueueServiceProperties()

Initializes a new instance of the QueueServiceProperties class.

public QueueServiceProperties ();
Public Sub New ()

Applies to

QueueServiceProperties(String, String, String, CorsRules)

Initializes a new instance of the QueueServiceProperties class.

public QueueServiceProperties (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Storage.Models.CorsRules cors = default);
new Microsoft.Azure.Management.Storage.Models.QueueServiceProperties : string * string * string * Microsoft.Azure.Management.Storage.Models.CorsRules -> Microsoft.Azure.Management.Storage.Models.QueueServiceProperties
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional cors As CorsRules = 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"

cors
CorsRules

Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service.

Applies to