PurviewCollection.CreateOrUpdateCollection Method
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.
Creates or updates a collection entity.
public virtual Azure.Response CreateOrUpdateCollection (Azure.Core.RequestContent content, Azure.RequestOptions options = default);
abstract member CreateOrUpdateCollection : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
override this.CreateOrUpdateCollection : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
Public Overridable Function CreateOrUpdateCollection (content As RequestContent, Optional options As RequestOptions = Nothing) As Response
Parameters
- content
- RequestContent
The content to send as the body of the request.
- options
- Azure.RequestOptions
The request options.
Returns
Remarks
Schema for Request Body
:
NameTypeRequiredDescription |
---|
collectionProvisioningState"Unknown" | "Creating" | "Moving" | "Deleting" | "Failed" | "Succeeded"Gets the state of the provisioning. |
descriptionstringGets or sets the description. |
friendlyNamestringGets or sets the friendly name of the collection. |
namestringGets the name. |
parentCollectionCollectionReferenceGets or sets the parent collection reference. |
systemDataCollectionSystemDataGets the system data that contains information about who and when created and updated the resource. |
CollectionReference
: NameTypeRequiredDescription |
---|
referenceNamestringGets or sets the reference name. |
typestringGets the reference type property. |
CollectionSystemData
: NameTypeRequiredDescription |
---|
createdAtstring (ISO 8601 Format)The timestamp of resource creation (UTC). |
createdBystringThe identity that created the resource. |
createdByType"User" | "Application" | "ManagedIdentity" | "Key"The type of identity that created the resource. |
lastModifiedAtstring (ISO 8601 Format)The timestamp of the last modification the resource (UTC). |
lastModifiedBystringThe identity that last modified the resource. |
lastModifiedByType"User" | "Application" | "ManagedIdentity" | "Key"The type of identity that last modified the resource. |
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET