GraphScopeCreationContext interface
This type is the subset of fields that can be provided by the user to create a Vsts scope. Scope creation is currently limited to internal back-compat scenarios. End users that attempt to create a scope with this API will fail.
admin |
Set this field to override the default description of this scope's admin group. |
admin |
All scopes have an Administrator Group that controls access to the contents of the scope. Set this field to use a non-default group name for that administrators group. |
creator |
Set this optional field if this scope is created on behalf of a user other than the user making the request. This should be the Id of the user that is not the requester. |
name | The scope must be provided with a unique name within the parent scope. This means the created scope can have a parent or child with the same name, but no siblings with the same name. |
scope |
The type of scope being created. |
storage |
An optional ID that uniquely represents the scope within it's parent scope. If this parameter is not provided, Vsts will generate on automatically. |
Set this field to override the default description of this scope's admin group.
adminGroupDescription: string
Property Value
string
All scopes have an Administrator Group that controls access to the contents of the scope. Set this field to use a non-default group name for that administrators group.
adminGroupName: string
Property Value
string
Set this optional field if this scope is created on behalf of a user other than the user making the request. This should be the Id of the user that is not the requester.
creatorId: string
Property Value
string
The scope must be provided with a unique name within the parent scope. This means the created scope can have a parent or child with the same name, but no siblings with the same name.
name: string
Property Value
string
An optional ID that uniquely represents the scope within it's parent scope. If this parameter is not provided, Vsts will generate on automatically.
storageKey: string
Property Value
string