Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 2.32 KB

azure_csr.md

File metadata and controls

53 lines (42 loc) · 2.32 KB

Document: "service"

Path: "https://github.com/Azure/azure-rest-api-specs/blob/2fbb5118cd34f412a51d9bc8a274224b216763cf/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json")

Csr

Certificate signing request object

azure_csr {
  api_version => "api_version",
  csr_envelope => "csrEnvelope",
  id => "id (optional)",
  kind => "kind (optional)",
  location => "location (optional)",
  name => "name (optional)",
  properties => "properties (optional)",
  resource_group_name => "resource_group_name",
  subscription_id => "subscription_id",
  tags => "tags (optional)",
  type => "type (optional)",
}
Name Type Required Description
api_version String true API Version
csr_envelope Hash true Details of certificate signing request if it exists already.
id String false Resource Id
kind String false Kind of resource
location String false Resource Location
name String false Resource Name
properties String false
resource_group_name String true Name of the resource group
subscription_id String true Subscription Id
tags Hash false Resource tags
type String false Resource type

CRUD operations

Here is a list of endpoints that we use to create, read, update and delete the Csr

Operation Path Verb Description OperationID
Create /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Web/csrs/%{name} Put Certificates_CreateOrUpdateCsr
List - list all ``
List - get one /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Web/csrs/%{name} Get Certificates_GetCsr
List - get list using params /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Web/csrs Get Certificates_GetCsrs
Update /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Web/csrs/%{name} Put Certificates_CreateOrUpdateCsr
Delete /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Web/csrs/%{name} Delete Certificates_DeleteCsr