Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PIM examples for documentation #13395

Merged
merged 28 commits into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8,178 changes: 19 additions & 8,159 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@
"type": "string",
"format": "date-time",
"description": "DateTime when role assignment schedule was modified"
},
"expandedProperties": {
"type": "object",
"description": "Additional properties of principal, scope and role definition",
"$ref": "#/definitions/ExpandedProperties"
}
},
"description": "Role assignment schedule properties with scope."
Expand Down Expand Up @@ -339,6 +344,68 @@
}
},
"description": "An error response from the service."
},
"ExpandedProperties": {
"properties": {
"scope": {
"type": "object",
"description": "Details of the resource scope",
"properties": {
"id": {
"type": "string",
"description": "Scope id of the resource"
},
"displayName": {
"type": "string",
"description": "Display name of the resource"
},
"type": {
"type": "string",
"description": "Type of the resource"
}
}
},
"roleDefinition": {
"type": "object",
"description": "Details of role definition",
"properties": {
"id": {
"type": "string",
"description": "Id of the role definition"
},
"displayName": {
"type": "string",
"description": "Display name of the role definition"
},
"type": {
"type": "string",
"description": "Type of the role definition"
}
}
},
"principal": {
"type": "object",
"description": "Details of the principal",
"properties": {
"id": {
"type": "string",
"description": "Id of the principal"
},
"displayName": {
"type": "string",
"description": "Display name of the principal"
},
"email": {
"type": "string",
"description": "Email id of the principal"
},
"type": {
"type": "string",
"description": "Type of the principal"
}
}
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@
"type": "string",
"format": "date-time",
"description": "DateTime when role assignment schedule was created"
},
"expandedProperties": {
"type": "object",
"description": "Additional properties of principal, scope and role definition",
"$ref": "#/definitions/ExpandedProperties"
}
},
"description": "Role assignment schedule properties with scope."
Expand Down Expand Up @@ -346,6 +351,68 @@
}
},
"description": "An error response from the service."
},
"ExpandedProperties": {
"properties": {
"scope": {
"type": "object",
"description": "Details of the resource scope",
"properties": {
"id": {
"type": "string",
"description": "Scope id of the resource"
},
"displayName": {
"type": "string",
"description": "Display name of the resource"
},
"type": {
"type": "string",
"description": "Type of the resource"
}
}
},
"roleDefinition": {
"type": "object",
"description": "Details of role definition",
"properties": {
"id": {
"type": "string",
"description": "Id of the role definition"
},
"displayName": {
"type": "string",
"description": "Display name of the role definition"
},
"type": {
"type": "string",
"description": "Type of the role definition"
}
}
},
"principal": {
"type": "object",
"description": "Details of the principal",
"properties": {
"id": {
"type": "string",
"description": "Id of the principal"
},
"displayName": {
"type": "string",
"description": "Display name of the principal"
},
"email": {
"type": "string",
"description": "Email id of the principal"
},
"type": {
"type": "string",
"description": "Type of the principal"
}
}
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.",
"description": "The scope of the role assignment schedule request to create. The scope can be any REST resource instance. For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.",
"x-ms-skip-url-encoding": true
},
{
Expand Down Expand Up @@ -427,6 +427,12 @@
"type": "string",
"readOnly": true,
"description": "Id of the user who created this request"
},
"expandedProperties": {
"type": "object",
"readOnly": true,
"description": "Additional properties of principal, scope and role definition",
"$ref": "#/definitions/ExpandedProperties"
}
},
"required": [
Expand Down Expand Up @@ -499,6 +505,68 @@
}
},
"description": "An error response from the service."
},
"ExpandedProperties": {
"properties": {
"scope": {
"type": "object",
"description": "Details of the resource scope",
"properties": {
"id": {
"type": "string",
"description": "Scope id of the resource"
},
"displayName": {
"type": "string",
"description": "Display name of the resource"
},
"type": {
"type": "string",
"description": "Type of the resource"
}
}
},
"roleDefinition": {
"type": "object",
"description": "Details of role definition",
"properties": {
"id": {
"type": "string",
"description": "Id of the role definition"
},
"displayName": {
"type": "string",
"description": "Display name of the role definition"
},
"type": {
"type": "string",
"description": "Type of the role definition"
}
}
},
"principal": {
"type": "object",
"description": "Details of the principal",
"properties": {
"id": {
"type": "string",
"description": "Id of the principal"
},
"displayName": {
"type": "string",
"description": "Display name of the principal"
},
"email": {
"type": "string",
"description": "Email id of the principal"
},
"type": {
"type": "string",
"description": "Type of the principal"
}
}
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@
"type": "string",
"format": "date-time",
"description": "DateTime when role eligibility schedule was modified"
},
"expandedProperties": {
"type": "object",
"description": "Additional properties of principal, scope and role definition",
"$ref": "#/definitions/ExpandedProperties"
}
},
"description": "Role eligibility schedule properties with scope."
Expand Down Expand Up @@ -323,6 +328,68 @@
}
},
"description": "An error response from the service."
},
"ExpandedProperties": {
"properties": {
"scope": {
"type": "object",
"description": "Details of the resource scope",
"properties": {
"id": {
"type": "string",
"description": "Scope id of the resource"
},
"displayName": {
"type": "string",
"description": "Display name of the resource"
},
"type": {
"type": "string",
"description": "Type of the resource"
}
}
},
"roleDefinition": {
"type": "object",
"description": "Details of role definition",
"properties": {
"id": {
"type": "string",
"description": "Id of the role definition"
},
"displayName": {
"type": "string",
"description": "Display name of the role definition"
},
"type": {
"type": "string",
"description": "Type of the role definition"
}
}
},
"principal": {
"type": "object",
"description": "Details of the principal",
"properties": {
"id": {
"type": "string",
"description": "Id of the principal"
},
"displayName": {
"type": "string",
"description": "Display name of the principal"
},
"email": {
"type": "string",
"description": "Email id of the principal"
},
"type": {
"type": "string",
"description": "Type of the principal"
}
}
}
}
}
},
"parameters": {
Expand Down
Loading