-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address Polaris Azure API changes (#96)
SetAzureCloudAccountCustomerAppCredentialsInput now has an additional field, called shouldReplace, which can be used to guard against accidentally replacing app credentials. This functionality is accessible through the azure.AddServicePrincipal API.
- Loading branch information
1 parent
beef90f
commit de80072
Showing
5 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
pkg/polaris/graphql/azure/queries/set_azure_cloud_account_customer_app_credentials.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
mutation RubrikPolarisSDKRequest($azureCloudType: AzureCloudType!, $appId: String!, $appName: String, $appSecretKey: String!, $appTenantId: String, $tenantDomainName: String) { | ||
mutation RubrikPolarisSDKRequest($azureCloudType: AzureCloudType!, $appId: String!, $appName: String, $appSecretKey: String!, $appTenantId: String, $tenantDomainName: String, $shouldReplace: Boolean!) { | ||
result: setAzureCloudAccountCustomerAppCredentials(input: { | ||
appId: $appId, | ||
appSecretKey: $appSecretKey, | ||
appTenantId: $appTenantId, | ||
appName: $appName, | ||
tenantDomainName: $tenantDomainName, | ||
shouldReplace: $shouldReplace, | ||
azureCloudType: $azureCloudType | ||
}) | ||
} |
10 changes: 10 additions & 0 deletions
10
...polaris/graphql/azure/queries/set_azure_cloud_account_customer_app_credentials_v1.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
mutation RubrikPolarisSDKRequest($azureCloudType: AzureCloudType!, $appId: String!, $appName: String, $appSecretKey: String!, $appTenantId: String, $tenantDomainName: String) { | ||
result: setAzureCloudAccountCustomerAppCredentials(input: { | ||
appId: $appId, | ||
appSecretKey: $appSecretKey, | ||
appTenantId: $appTenantId, | ||
appName: $appName, | ||
tenantDomainName: $tenantDomainName, | ||
azureCloudType: $azureCloudType | ||
}) | ||
} |