次の方法で共有


QueueServiceProperties クラス

ストレージ アカウントの Queue サービスのプロパティ。

変数はサーバーによってのみ設定され、要求の送信時には無視されます。

継承
azure.mgmt.storage.v2022_09_01.models._models_py3.Resource
QueueServiceProperties

コンストラクター

QueueServiceProperties(*, cors: _models.CorsRules | None = None, **kwargs: Any)

Keyword-Only パラメータ

名前 説明
cors

Queue サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、キュー サービスに対して CORS が無効になります。

変数

名前 説明
id
str

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
str

リソースの名前。

type
str

リソースの型。 たとえば、"Microsoft.Compute/virtualMachines" や "Microsoft.Storage/storageAccounts" などです。

cors

Queue サービスの CORS 規則を指定します。 要求には、最大 5 つの CorsRule 要素を含めることができます。 要求本文に CorsRule 要素が含まれていない場合、すべての CORS ルールが削除され、キュー サービスに対して CORS が無効になります。