Skip to content

Commit

Permalink
Adding 2021-11-01 version for Microsoft.AzureArcData (Azure#16275)
Browse files Browse the repository at this point in the history
* Adding API Version 2021-11-01

* Updating example and naming

* Remove password

* Update field description
  • Loading branch information
sureleo authored and LeiWang3 committed Mar 31, 2022
1 parent a572eea commit 901df31
Show file tree
Hide file tree
Showing 24 changed files with 3,834 additions and 11 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"dataControllerName": "testdataController",
"api-version": "2021-11-01",
"dataControllerResource": {
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey"
},
"basicLoginInformation": {
"username": "username",
"password": "********"
},
"metricsDashboardCredential": {
"username": "username",
"password": "********"
},
"logsDashboardCredential": {
"username": "username",
"password": "********"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444",
"primaryKey": "********"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/",
"clientSecret": "********"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
},
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"infrastructure": "onpremises"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
},
"basicLoginInformation": {
"username": "username"
},
"metricsDashboardCredential": {
"username": "username"
},
"logsDashboardCredential": {
"username": "username"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
},
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"infrastructure": "onpremises"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
"name": "testdataController",
"type": "Microsoft.AzureArcData/dataControllers"
}
},
"201": {
"body": {
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
},
"basicLoginInformation": {
"username": "username"
},
"metricsDashboardCredential": {
"username": "username"
},
"logsDashboardCredential": {
"username": "username"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
},
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"infrastructure": "onpremises"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"location": "northeurope",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
"name": "testdataController",
"type": "Microsoft.AzureArcData/dataControllers"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlManagedInstanceName": "testsqlManagedInstance",
"api-version": "2021-11-01",
"sqlManagedInstance": {
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"sku": {
"name": "vCore",
"tier": "GeneralPurpose",
"dev": true
},
"properties": {
"admin": "Admin user",
"startTime": "Instance start time",
"endTime": "Instance end time",
"basicLoginInformation": {
"username": "username",
"password": "********"
},
"licenseType": "LicenseIncluded",
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"k8sRaw": {
"additionalProperty": 1234,
"spec": {
"replicas": 1,
"scheduling": {
"default": {
"resources": {
"requests": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
},
"limits": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
}
}
}
}
}
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"admin": "Admin user",
"startTime": "Instance start time",
"endTime": "Instance end time",
"basicLoginInformation": {
"username": "username"
},
"licenseType": "LicenseIncluded",
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"k8sRaw": {
"additionalProperty": 1234,
"spec": {
"replicas": 1,
"scheduling": {
"default": {
"resources": {
"requests": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
},
"limits": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
}
}
}
}
}
}
},
"location": "northeurope",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"sku": {
"name": "vCore",
"tier": "GeneralPurpose",
"dev": true
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance",
"name": "testsqlManagedInstance",
"type": "Microsoft.AzureArcData/sqlManagedInstances"
}
},
"201": {
"body": {
"properties": {
"admin": "Admin user",
"startTime": "Instance start time",
"endTime": "Instance end time",
"basicLoginInformation": {
"username": "username"
},
"licenseType": "LicenseIncluded",
"clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s",
"extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension",
"k8sRaw": {
"additionalProperty": 1234,
"spec": {
"replicas": 1,
"scheduling": {
"default": {
"resources": {
"requests": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
},
"limits": {
"cpu": "1",
"memory": "8Gi",
"additionalProperty": "additionalValue"
}
}
}
}
}
}
},
"location": "northeurope",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"sku": {
"name": "vCore",
"tier": "GeneralPurpose",
"dev": true
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance",
"name": "testsqlManagedInstance",
"type": "Microsoft.AzureArcData/sqlManagedInstances"
}
}
}
}
Loading

0 comments on commit 901df31

Please sign in to comment.