Share via


CloudBlobContainer.CreateIfNotExists Methode

Definition

Überlädt

CreateIfNotExists(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext)

Erstellt den Container, wenn er noch nicht vorhanden ist, und gibt an, ob der Container oder seine Blobs öffentlich zugänglich sind.

CreateIfNotExists(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Erstellt den Container, wenn er noch nicht vorhanden ist, und gibt an, ob der Container oder seine Blobs öffentlich zugänglich sind.

CreateIfNotExists(BlobRequestOptions, OperationContext)

Erstellt den Container, falls er noch nicht vorhanden ist.

CreateIfNotExists(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext)

Erstellt den Container, wenn er noch nicht vorhanden ist, und gibt an, ob der Container oder seine Blobs öffentlich zugänglich sind.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool CreateIfNotExists (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function CreateIfNotExists (accessType As BlobContainerPublicAccessType, encryptionScopeOptions As BlobContainerEncryptionScopeOptions, Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameter

accessType
BlobContainerPublicAccessType

Ein BlobContainerPublicAccessType-Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf und welche Zugriffsebene zulässig sein soll.

encryptionScopeOptions
BlobContainerEncryptionScopeOptions

Ein BlobContainerEncryptionScopeOptions -Objekt, das Verschlüsselungsbereichsoptionen angibt, die für diesen Container festgelegt werden sollen.

requestOptions
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

true, wenn der Container noch nicht vorhanden war und erstellt wurde; andernfalls false.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExists(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Erstellt den Container, wenn er noch nicht vorhanden ist, und gibt an, ob der Container oder seine Blobs öffentlich zugänglich sind.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool CreateIfNotExists (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function CreateIfNotExists (accessType As BlobContainerPublicAccessType, Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameter

accessType
BlobContainerPublicAccessType

Ein BlobContainerPublicAccessType-Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf und welche Zugriffsebene zulässig sein soll.

requestOptions
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

true, wenn der Container noch nicht vorhanden war und erstellt wurde; andernfalls false.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExists(BlobRequestOptions, OperationContext)

Erstellt den Container, falls er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool CreateIfNotExists (Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.CreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function CreateIfNotExists (Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameter

requestOptions
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

true, wenn der Container noch nicht vorhanden war und erstellt wurde; andernfalls false.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für: