openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 65.4 kB
JSON
{"openapi":"3.0.0","info":{"description":"API spec for Microsoft.Security (Azure Security Center) resource provider","title":"Security Center","version":"2017-08-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"security","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings":{"get":{"description":"Exposes the auto provisioning settings of the subscriptions","operationId":"AutoProvisioningSettings_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoProvisioningSettingList"},"examples":{"Get auto provisioning settings for subscription":{"$ref":"#/components/examples/Get_auto_provisioning_settings_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AutoProvisioningSettings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}":{"get":{"description":"Details of a specific setting","operationId":"AutoProvisioningSettings_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/AutoProvisioningSettingName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoProvisioningSetting"},"examples":{"Get an auto provisioning setting for subscription":{"$ref":"#/components/examples/Get_an_auto_provisioning_setting_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AutoProvisioningSettings"]},"put":{"description":"Details of a specific setting","operationId":"AutoProvisioningSettings_Create","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/AutoProvisioningSettingName"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoProvisioningSetting"}}},"description":"Auto provisioning setting key","required":true,"x-ms-parameter-location":"method"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoProvisioningSetting"},"examples":{"Create auto provisioning settings for subscription":{"$ref":"#/components/examples/Create_auto_provisioning_settings_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AutoProvisioningSettings"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings":{"get":{"description":"Security pricing configurations in the subscription","operationId":"Pricings_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingList"},"examples":{"Get pricings on subscription":{"$ref":"#/components/examples/Get_pricings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}":{"get":{"description":"Security pricing configuration in the subscriptionSecurity pricing configuration in the subscription","operationId":"Pricings_GetSubscriptionPricing","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/PricingName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"},"examples":{"Get pricings on subscription":{"$ref":"#/components/examples/Get_pricings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"]},"put":{"description":"Security pricing configuration in the subscription","operationId":"Pricings_UpdateSubscriptionPricing","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/PricingName"}],"requestBody":{"$ref":"#/components/requestBodies/Pricing"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"},"examples":{"Update pricings on subscription":{"$ref":"#/components/examples/Update_pricings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts":{"get":{"description":"Security contact configurations for the subscription","operationId":"SecurityContacts_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityContactList"},"examples":{"Update security contact data full":{"$ref":"#/components/examples/Update_security_contact_data_full"},"Update security contact data minimal":{"$ref":"#/components/examples/Update_security_contact_data_minimal"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Security Contacts"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}":{"delete":{"description":"Security contact configurations for the subscription","operationId":"SecurityContacts_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SecurityContactName"}],"responses":{"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Security Contacts"]},"get":{"description":"Security contact configurations for the subscription","operationId":"SecurityContacts_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SecurityContactName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityContact"},"examples":{"Get security contact data full":{"$ref":"#/components/examples/Get_security_contact_data_full"},"Get security contact data minimal":{"$ref":"#/components/examples/Get_security_contact_data_minimal"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Security Contacts"]},"patch":{"description":"Security contact configurations for the subscription","operationId":"SecurityContacts_Update","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SecurityContactName"}],"requestBody":{"$ref":"#/components/requestBodies/SecurityContact"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityContact"},"examples":{"Update security contact data full":{"$ref":"#/components/examples/Update_security_contact_data_full"},"Update security contact data minimal":{"$ref":"#/components/examples/Update_security_contact_data_minimal"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Security Contacts"]},"put":{"description":"Security contact configurations for the subscription","operationId":"SecurityContacts_Create","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SecurityContactName"}],"requestBody":{"$ref":"#/components/requestBodies/SecurityContact"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityContact"},"examples":{"Create security contact data full":{"$ref":"#/components/examples/Create_security_contact_data_full"},"Create security contact data minimal":{"$ref":"#/components/examples/Create_security_contact_data_minimal"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Security Contacts"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings":{"get":{"description":"Settings about different configurations in security center","operationId":"Settings_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsList"},"examples":{"Get settings of subscription":{"$ref":"#/components/examples/Get_settings_of_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Settings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}":{"get":{"description":"Settings of different configurations in security center","operationId":"Settings_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SettingName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Setting"},"examples":{"Get a setting on subscription":{"$ref":"#/components/examples/Get_a_setting_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Settings"]},"put":{"description":"updating settings about different configurations in security center","operationId":"Settings_Update","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/SettingName"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Setting"}}},"description":"Setting object","required":true,"x-ms-parameter-location":"method"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Setting"},"examples":{"Update a setting for subscription":{"$ref":"#/components/examples/Update_a_setting_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Settings"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings":{"get":{"description":"Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set","operationId":"WorkspaceSettings_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSettingList"},"examples":{"Get workspace settings on subscription":{"$ref":"#/components/examples/Get_workspace_settings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Workspace Settings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}":{"delete":{"description":"Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace","operationId":"WorkspaceSettings_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/WorkspaceSettingName"}],"responses":{"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Workspace Settings"]},"get":{"description":"Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set","operationId":"WorkspaceSettings_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/WorkspaceSettingName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSetting"},"examples":{"Get a workspace setting on subscription":{"$ref":"#/components/examples/Get_a_workspace_setting_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Workspace Settings"]},"patch":{"description":"Settings about where we should store your security data and logs","operationId":"WorkspaceSettings_Update","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/WorkspaceSettingName"}],"requestBody":{"$ref":"#/components/requestBodies/WorkspaceSetting"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSetting"},"examples":{"Update a workspace setting data for subscription":{"$ref":"#/components/examples/Update_a_workspace_setting_data_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Workspace Settings"]},"put":{"description":"creating settings about where we should store your security data and logs","operationId":"WorkspaceSettings_Create","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/WorkspaceSettingName"}],"requestBody":{"$ref":"#/components/requestBodies/WorkspaceSetting"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSetting"},"examples":{"Create a workspace setting data for subscription":{"$ref":"#/components/examples/Create_a_workspace_setting_data_for_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Workspace Settings"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/pricings":{"get":{"description":"Security pricing configurations in the resource group","operationId":"Pricings_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingList"},"examples":{"Get pricings on subscription":{"$ref":"#/components/examples/Get_pricings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/pricings/{pricingName}":{"get":{"description":"Security pricing configuration in the resource group","operationId":"Pricings_GetResourceGroupPricing","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/PricingName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"},"examples":{"Get pricings on subscription":{"$ref":"#/components/examples/Get_pricings_on_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"]},"put":{"description":"Security pricing configuration in the resource group","operationId":"Pricings_CreateOrUpdateResourceGroupPricing","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/PricingName"}],"requestBody":{"$ref":"#/components/requestBodies/Pricing"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"},"examples":{"Update pricings on resource group":{"$ref":"#/components/examples/Update_pricings_on_resource_group"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Pricings"]}},"/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}":{"get":{"description":"Gets the Advanced Threat Protection settings for the specified resource.","operationId":"AdvancedThreatProtection_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/AdvancedThreatProtectionSettingName"}],"responses":{"200":{"description":"Successful request to get Advanced Threat Protection settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedThreatProtectionSetting"},"examples":{"Gets the Advanced Threat Protection settings for the specified resource.":{"$ref":"#/components/examples/Gets_the_Advanced_Threat_Protection_settings_for_the_specified_resource."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AdvancedThreatProtection"]},"put":{"description":"Creates or updates the Advanced Threat Protection settings on a specified resource.","operationId":"AdvancedThreatProtection_Create","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/AdvancedThreatProtectionSettingName"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedThreatProtectionSetting"}}},"description":"Advanced Threat Protection Settings","required":true,"x-ms-parameter-location":"method"},"responses":{"200":{"description":"Successful request to put Advanced Threat Protection settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedThreatProtectionSetting"},"examples":{"Creates or updates the Advanced Threat Protection settings on a specified resource.":{"$ref":"#/components/examples/Creates_or_updates_the_Advanced_Threat_Protection_settings_on_a_specified_resource."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AdvancedThreatProtection"]}},"/{scope}/providers/Microsoft.Security/compliances":{"get":{"description":"The Compliance scores of the specific management group.","operationId":"Compliances_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/Scope"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceList"},"examples":{"Get security compliance data over time":{"$ref":"#/components/examples/Get_security_compliance_data_over_time"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Compliances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.Security/compliances/{complianceName}":{"get":{"description":"Details of a specific Compliance.","operationId":"Compliances_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/Scope"},{"$ref":"#/components/parameters/ComplianceName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Compliance"},"examples":{"Get security compliance data for a day":{"$ref":"#/components/examples/Get_security_compliance_data_for_a_day"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Compliances"]}},"/{scope}/providers/Microsoft.Security/informationProtectionPolicies":{"get":{"description":"Information protection policies of a specific management group.","operationId":"InformationProtectionPolicies_List","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/Scope"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InformationProtectionPolicyList"},"examples":{"Get information protection policies":{"$ref":"#/components/examples/Get_information_protection_policies"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["InformationProtectionPolicies"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}":{"get":{"description":"Details of the information protection policy.","operationId":"InformationProtectionPolicies_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/Scope"},{"$ref":"#/components/parameters/InformationProtectionPolicyName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InformationProtectionPolicy"},"examples":{"Get the customized information protection policy for a management group":{"$ref":"#/components/examples/Get_the_customized_information_protection_policy_for_a_management_group"},"Get the effective information protection policy for a management group":{"$ref":"#/components/examples/Get_the_effective_information_protection_policy_for_a_management_group"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["InformationProtectionPolicies"]},"put":{"description":"Details of the information protection policy.","operationId":"InformationProtectionPolicies_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/Scope"},{"$ref":"#/components/parameters/InformationProtectionPolicyName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InformationProtectionPolicy"},"examples":{"Create or update an information protection policy for a management group":{"$ref":"#/components/examples/Create_or_update_an_information_protection_policy_for_a_management_group"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InformationProtectionPolicy"},"examples":{"Create or update an information protection policy for a management group":{"$ref":"#/components/examples/Create_or_update_an_information_protection_policy_for_a_management_group"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["InformationProtectionPolicies"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Get_auto_provisioning_settings_for_subscription":{"value":{"value":[{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/autoProvisioningSettings/default","name":"default","properties":{"autoProvision":"On"},"type":"Microsoft.Security/autoProvisioningSettings"}]}},"Get_an_auto_provisioning_setting_for_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/autoProvisioningSettings/default","name":"default","properties":{"autoProvision":"On"},"type":"Microsoft.Security/autoProvisioningSettings"}},"Create_auto_provisioning_settings_for_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/autoProvisioningSettings/default","name":"default","properties":{"autoProvision":"On"},"type":"Microsoft.Security/autoProvisioningSettings"}},"Get_pricings_on_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/myRg","name":"myRg","properties":{"pricingTier":"Standard"},"type":"Microsoft.Security/pricings"}},"Update_pricings_on_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/default","name":"default","properties":{"pricingTier":"Standard"},"type":"Microsoft.Security/pricings"}},"Update_security_contact_data_full":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default1","name":"default1","properties":{"alertNotifications":"On","alertsToAdmins":"Off","email":"john@contoso.com","phone":"(214)275-4038"},"type":"Microsoft.Security/securityContacts"}},"Update_security_contact_data_minimal":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2","name":"default2","properties":{"alertNotifications":"On","alertsToAdmins":"Off","email":"chen@contoso.com"},"type":"Microsoft.Security/securityContacts"}},"Get_security_contact_data_full":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default1","name":"default1","properties":{"alertNotifications":"On","alertsToAdmins":"On","email":"john@contoso.com","phone":"(214)275-4038"},"type":"Microsoft.Security/securityContacts"}},"Get_security_contact_data_minimal":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2","name":"default2","properties":{"alertNotifications":"On","alertsToAdmins":"On","email":"chen@contoso.com"},"type":"Microsoft.Security/securityContacts"}},"Create_security_contact_data_full":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default1","name":"default1","properties":{"alertNotifications":"On","alertsToAdmins":"On","email":"john@contoso.com","phone":"(214)275-4038"},"type":"Microsoft.Security/securityContacts"}},"Create_security_contact_data_minimal":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2","name":"default2","properties":{"alertNotifications":"On","alertsToAdmins":"On","email":"chen@contoso.com"},"type":"Microsoft.Security/securityContacts"}},"Get_settings_of_subscription":{"value":{"value":[{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS","kind":"DataExportSetting","name":"MCAS","properties":{"enabled":true},"type":"Microsoft.Security/settings"},{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/WDATP","kind":"DataExportSetting","name":"WDATP","properties":{"enabled":false},"type":"Microsoft.Security/settings"}]}},"Get_a_setting_on_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS","kind":"DataExportSetting","name":"MCAS","properties":{"enabled":true},"type":"Microsoft.Security/settings"}},"Update_a_setting_for_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS","kind":"DataExportSetting","name":"MCAS","properties":{"enabled":true},"type":"Microsoft.Security/settings"}},"Get_workspace_settings_on_subscription":{"value":{"value":[{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/workspaceSettings/default","name":"default","properties":{"scope":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23","workspaceId":"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"},"type":"Microsoft.Security/workspaceSettings"},{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Security/workspaceSettings/myRg","name":"myRg","properties":{"scope":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg","workspaceId":"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myOtherRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace2"},"type":"Microsoft.Security/workspaceSettings"}]}},"Get_a_workspace_setting_on_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/workspaceSettings/default","name":"default","properties":{"scope":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23","workspaceId":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace"},"type":"Microsoft.Security/workspaceSettings"}},"Update_a_workspace_setting_data_for_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/workspaceSettings/default","name":"default","properties":{"scope":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23","workspaceId":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace"},"type":"Microsoft.Security/workspaceSettings"}},"Create_a_workspace_setting_data_for_subscription":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/workspaceSettings/default","name":"default","properties":{"scope":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23","workspaceId":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace"},"type":"Microsoft.Security/workspaceSettings"}},"Update_pricings_on_resource_group":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/myRg","name":"myRg","properties":{"pricingTier":"Standard"},"type":"Microsoft.Security/pricings"}},"Gets_the_Advanced_Threat_Protection_settings_for_the_specified_resource.":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/current","name":"current","properties":{"isEnabled":true},"type":"Microsoft.Security/advancedThreatProtectionSettings"}},"Creates_or_updates_the_Advanced_Threat_Protection_settings_on_a_specified_resource.":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/current","name":"current","properties":{"isEnabled":true},"type":"Microsoft.Security/advancedThreatProtectionSettings"}},"Get_security_compliance_data_over_time":{"value":{"value":[{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/compliances/2018-01-01Z","name":"2018-01-01Z","properties":{"assessmentResult":[{"percentage":77.77777777777779,"segmentType":"Compliant"}],"assessmentTimestampUtcDate":"2018-01-01T00:00:00Z","resourceCount":18},"type":"Microsoft.Security/compliances"},{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/compliances/2018-01-02Z","name":"2018-01-02Z","properties":{"assessmentResult":[{"percentage":94.44444444444444,"segmentType":"Compliant"}],"assessmentTimestampUtcDate":"2018-01-02T00:00:00Z","resourceCount":18},"type":"Microsoft.Security/compliances"},{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/compliances/2018-01-03Z","name":"2018-01-03Z","properties":{"assessmentResult":[{"percentage":100,"segmentType":"Compliant"}],"assessmentTimestampUtcDate":"2018-01-03T00:00:00Z","resourceCount":18},"type":"Microsoft.Security/compliances"}]}},"Get_security_compliance_data_for_a_day":{"value":{"id":"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/compliances/2018-01-01Z","name":"2018-01-01Z","properties":{"assessmentResult":[{"percentage":77.77777777777779,"segmentType":"Compliant"}],"assessmentTimestampUtcDate":"2018-01-01T00:00:00Z","resourceCount":18},"type":"Microsoft.Security/compliances"}},"Get_information_protection_policies":{"value":{"value":[{"id":"/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/effective","name":"effective","properties":{"informationTypes":{"3bf35491-99b8-41f2-86d5-c1200a7df658":{"custom":true,"displayName":"Custom","enabled":true,"keywords":[{"canBeNumeric":false,"custom":true,"pattern":"%networking%"}],"order":1400,"recommendedLabelId":"7aa516c7-5a53-4857-bc6e-6808c6acd542"},"5856f35c-8e08-4d08-9bf7-87a146150569":{"custom":false,"displayName":"Contact Info","enabled":true,"keywords":[{"canBeNumeric":false,"custom":false,"pattern":"%email%"},{"canBeNumeric":false,"custom":false,"pattern":"%e-mail%"},{"canBeNumeric":false,"custom":false,"pattern":"%addr%"},{"canBeNumeric":true,"custom":false,"pattern":"%street%"},{"canBeNumeric":false,"custom":false,"pattern":"%city%"}],"order":200,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"},"7fb9419d-2473-4ad8-8e11-b25cc8cf6a07":{"custom":false,"displayName":"Networking","enabled":true,"keywords":[{"canBeNumeric":false,"custom":false,"pattern":"%ip%"},{"canBeNumeric":false,"custom":false,"pattern":"ip%address%"},{"canBeNumeric":false,"custom":false,"pattern":"%mac%address%"},{"canBeNumeric":true,"custom":true,"pattern":"%networking%"}],"order":100,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"}},"labels":{"1345da73-bc5a-4a8f-b7dd-3820eb713da8":{"displayName":"Public","enabled":true,"order":100},"575739d2-3d53-4df0-9042-4c7772d5c7b1":{"displayName":"Confidential","enabled":true,"order":300},"7aa516c7-5a53-4857-bc6e-6808c6acd542":{"displayName":"General","enabled":true,"order":200}}},"type":"Microsoft.Security/informationProtectionPolicies"},{"id":"/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/custom","name":"custom","properties":{"informationTypes":{"3bf35491-99b8-41f2-86d5-c1200a7df658":{"custom":true,"displayName":"Custom","enabled":true,"keywords":[{"canBeNumeric":true,"custom":true,"pattern":"%custom%"}],"order":1400,"recommendedLabelId":"7aa516c7-5a53-4857-bc6e-6808c6acd542"},"7fb9419d-2473-4ad8-8e11-b25cc8cf6a07":{"custom":false,"displayName":"Networking","enabled":true,"keywords":[{"canBeNumeric":false,"custom":true,"pattern":"%networking%"}],"order":100,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"}},"labels":{"1345da73-bc5a-4a8f-b7dd-3820eb713da8":{"displayName":"Public","enabled":true,"order":100},"575739d2-3d53-4df0-9042-4c7772d5c7b1":{"displayName":"Confidential","enabled":true,"order":300},"7aa516c7-5a53-4857-bc6e-6808c6acd542":{"displayName":"General","enabled":true,"order":200}}},"type":"Microsoft.Security/informationProtectionPolicies"}]}},"Get_the_customized_information_protection_policy_for_a_management_group":{"value":{"id":"/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/custom","name":"custom","properties":{"informationTypes":{"3bf35491-99b8-41f2-86d5-c1200a7df658":{"custom":true,"displayName":"Custom","enabled":true,"keywords":[{"canBeNumeric":true,"custom":true,"pattern":"%custom%"}],"order":1400,"recommendedLabelId":"7aa516c7-5a53-4857-bc6e-6808c6acd542"},"7fb9419d-2473-4ad8-8e11-b25cc8cf6a07":{"custom":false,"displayName":"Networking","enabled":true,"keywords":[{"canBeNumeric":false,"custom":true,"pattern":"%networking%"}],"order":100,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"}},"labels":{"1345da73-bc5a-4a8f-b7dd-3820eb713da8":{"displayName":"Public","enabled":true,"order":100},"575739d2-3d53-4df0-9042-4c7772d5c7b1":{"displayName":"Confidential","enabled":true,"order":300},"7aa516c7-5a53-4857-bc6e-6808c6acd542":{"displayName":"General","enabled":true,"order":200}}},"type":"Microsoft.Security/informationProtectionPolicies"}},"Get_the_effective_information_protection_policy_for_a_management_group":{"value":{"id":"/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/effective","name":"effective","properties":{"informationTypes":{"3bf35491-99b8-41f2-86d5-c1200a7df658":{"custom":true,"displayName":"Custom","enabled":true,"keywords":[{"canBeNumeric":false,"custom":true,"pattern":"%networking%"}],"order":1400,"recommendedLabelId":"7aa516c7-5a53-4857-bc6e-6808c6acd542"},"5856f35c-8e08-4d08-9bf7-87a146150569":{"custom":false,"displayName":"Contact Info","enabled":true,"keywords":[{"canBeNumeric":false,"custom":false,"pattern":"%email%"},{"canBeNumeric":false,"custom":false,"pattern":"%e-mail%"},{"canBeNumeric":false,"custom":false,"pattern":"%addr%"},{"canBeNumeric":true,"custom":false,"pattern":"%street%"},{"canBeNumeric":false,"custom":false,"pattern":"%city%"}],"order":200,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"},"7fb9419d-2473-4ad8-8e11-b25cc8cf6a07":{"custom":false,"displayName":"Networking","enabled":true,"keywords":[{"canBeNumeric":false,"custom":false,"pattern":"%ip%"},{"canBeNumeric":false,"custom":false,"pattern":"ip%address%"},{"canBeNumeric":false,"custom":false,"pattern":"%mac%address%"},{"canBeNumeric":true,"custom":true,"excluded":true,"pattern":"%networking%"}],"order":100,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"}},"labels":{"1345da73-bc5a-4a8f-b7dd-3820eb713da8":{"displayName":"Public","enabled":true,"order":100},"575739d2-3d53-4df0-9042-4c7772d5c7b1":{"displayName":"Confidential","enabled":true,"order":300},"7aa516c7-5a53-4857-bc6e-6808c6acd542":{"displayName":"General","enabled":true,"order":200}}},"type":"Microsoft.Security/informationProtectionPolicies"}},"Create_or_update_an_information_protection_policy_for_a_management_group":{"value":{"id":"/providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e/providers/Microsoft.Security/informationProtectionPolicies/custom","name":"custom","properties":{"informationTypes":{"3bf35491-99b8-41f2-86d5-c1200a7df658":{"custom":true,"displayName":"Custom","enabled":true,"keywords":[{"canBeNumeric":true,"custom":true,"pattern":"%custom%"}],"order":1400,"recommendedLabelId":"7aa516c7-5a53-4857-bc6e-6808c6acd542"},"7fb9419d-2473-4ad8-8e11-b25cc8cf6a07":{"custom":false,"displayName":"Networking","enabled":true,"keywords":[{"canBeNumeric":false,"custom":true,"pattern":"%networking%"}],"order":100,"recommendedLabelId":"575739d2-3d53-4df0-9042-4c7772d5c7b1"}},"labels":{"1345da73-bc5a-4a8f-b7dd-3820eb713da8":{"displayName":"Public","enabled":true,"order":100},"575739d2-3d53-4df0-9042-4c7772d5c7b1":{"displayName":"Confidential","enabled":true,"order":300},"7aa516c7-5a53-4857-bc6e-6808c6acd542":{"displayName":"General","enabled":true,"order":200}}},"type":"Microsoft.Security/informationProtectionPolicies"}}},"parameters":{"AdvancedThreatProtectionSettingName":{"description":"Advanced Threat Protection setting name.","in":"path","name":"settingName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","enum":["current"]},"examples":{"Gets the Advanced Threat Protection settings for the specified resource.":{"value":"current"},"Creates or updates the Advanced Threat Protection settings on a specified resource.":{"value":"current"}}},"ApiVersion":{"description":"API version for the operation","in":"query","name":"api-version","required":true,"schema":{"type":"string","enum":["2017-08-01-preview"]},"examples":{"Get auto provisioning settings for subscription":{"value":"2017-08-01-preview"},"Get an auto provisioning setting for subscription":{"value":"2017-08-01-preview"},"Create auto provisioning settings for subscription":{"value":"2017-08-01-preview"},"Get pricings on subscription":{"value":"2017-08-01-preview"},"Update pricings on subscription":{"value":"2017-08-01-preview"},"Update security contact data full":{"value":"2017-08-01-preview"},"Update security contact data minimal":{"value":"2017-08-01-preview"},"Delete security contact data":{"value":"2017-08-01-preview"},"Get security contact data full":{"value":"2017-08-01-preview"},"Get security contact data minimal":{"value":"2017-08-01-preview"},"Create security contact data full":{"value":"2017-08-01-preview"},"Create security contact data minimal":{"value":"2017-08-01-preview"},"Get settings of subscription":{"value":"2017-08-01-preview"},"Get a setting on subscription":{"value":"2017-08-01-preview"},"Update a setting for subscription":{"value":"2017-08-01-preview"},"Get workspace settings on subscription":{"value":"2017-08-01-preview"},"Delete a workspace setting data for resource group":{"value":"2017-08-01-preview"},"Get a workspace setting on subscription":{"value":"2017-08-01-preview"},"Update a workspace setting data for subscription":{"value":"2017-08-01-preview"},"Create a workspace setting data for subscription":{"value":"2017-08-01-preview"},"Update pricings on resource group":{"value":"2017-08-01-preview"},"Gets the Advanced Threat Protection settings for the specified resource.":{"value":"2017-08-01-preview"},"Creates or updates the Advanced Threat Protection settings on a specified resource.":{"value":"2017-08-01-preview"},"Get security compliance data over time":{"value":"2017-08-01-preview"},"Get security compliance data for a day":{"value":"2017-08-01-preview"},"Get information protection policies":{"value":"2017-08-01-preview"},"Get the customized information protection policy for a management group":{"value":"2017-08-01-preview"},"Get the effective information protection policy for a management group":{"value":"2017-08-01-preview"},"Create or update an information protection policy for a management group":{"value":"2017-08-01-preview"}}},"AutoProvisioningSettingName":{"description":"Auto provisioning setting key","in":"path","name":"settingName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get an auto provisioning setting for subscription":{"value":"default"},"Create auto provisioning settings for subscription":{"value":"default"}}},"ComplianceName":{"description":"name of the Compliance","in":"path","name":"complianceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get security compliance data for a day":{"value":"2018-01-01Z"}}},"InformationProtectionPolicyName":{"description":"Name of the information protection policy.","in":"path","name":"informationProtectionPolicyName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","enum":["effective","custom"]},"examples":{"Get the customized information protection policy for a management group":{"value":"custom"},"Get the effective information protection policy for a management group":{"value":"effective"},"Create or update an information protection policy for a management group":{"value":"custom"}}},"PricingName":{"description":"name of the pricing configuration","in":"path","name":"pricingName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get pricings on subscription":{"value":"myRg"},"Update pricings on subscription":{"value":"default"},"Update pricings on resource group":{"value":"myRg"}}},"ResourceGroupName":{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Get pricings on subscription":{"value":"myRg"},"Update pricings on resource group":{"value":"myRg"}}},"ResourceId":{"description":"The identifier of the resource.","in":"path","name":"resourceId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Gets the Advanced Threat Protection settings for the specified resource.":{"value":"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount"},"Creates or updates the Advanced Threat Protection settings on a specified resource.":{"value":"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount"}}},"Scope":{"description":"Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).","in":"path","name":"scope","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get security compliance data over time":{"value":"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"},"Get security compliance data for a day":{"value":"subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"},"Get information protection policies":{"value":"providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e"},"Get the customized information protection policy for a management group":{"value":"providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e"},"Get the effective information protection policy for a management group":{"value":"providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e"},"Create or update an information protection policy for a management group":{"value":"providers/Microsoft.Management/managementGroups/148059f7-faf3-49a6-ba35-85122112291e"}}},"SecurityContactName":{"description":"Name of the security contact object","in":"path","name":"securityContactName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Delete security contact data":{"value":"default1"},"Get security contact data full":{"value":"default1"},"Get security contact data minimal":{"value":"default2"},"Update security contact data full":{"value":"john"},"Update security contact data minimal":{"value":"default2"},"Create security contact data full":{"value":"default1"},"Create security contact data minimal":{"value":"default2"}}},"SettingName":{"description":"Name of setting: (MCAS/WDATP)","in":"path","name":"settingName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","enum":["MCAS","WDATP"]},"examples":{"Get a setting on subscription":{"value":"MCAS"},"Update a setting for subscription":{"value":"MCAS"}}},"SubscriptionId":{"description":"Azure subscription ID","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","pattern":"^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"},"examples":{"Get auto provisioning settings for subscription":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"},"Get an auto provisioning setting for subscription":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"},"Create auto provisioning settings for subscription":{"value":"20f