SDK reference / V1 / Projects / Item / Locations / Item / Locks

LocksRequestBuilder

Kind: class

Namespace: Egulu.Sdk.V1.Projects.Item.Locations.Item.Locks

Request path: /v1/projects/{project}/locations/{location}/locks{?target}

Builds and executes requests for operations under \v1\projects\{project}\locations\{location}\locks

Methods

SignatureDescription
Task<Models.Governance.LockList?> GetAsync(Action<RequestConfiguration<V1.Projects.Item.Locations.Item.Locks.LocksRequestBuilder.LocksRequestBuilderGetQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)Lists the project's locks. With target, lists the locks that cover that resource (its own, those of its parents and of a group it belongs to).
Task<Models.Governance.Lock?> PostAsync(Models.Governance.Lock body, Action<RequestConfiguration<V1.Projects.Item.Locations.Item.Locks.LocksRequestBuilder.LocksRequestBuilderPostQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)Makes a lock (at most 200 per project; one per target and kind). The refusal of a later delete or change names this lock and who made it.
V1.Projects.Item.Locations.Item.Locks.Item.WithLockItemRequestBuilder this[string position]Gets an item from the Egulu.Sdk.v1.projects.item.locations.item.locks.item collection