Skip to main content

Azure

This Integration is part of the Azure Pack.#

Supported versions

Supported Cortex XSOAR versions: 8.11.0 and later.

Cloud integrations are installed from the Data Sources page. To configure a cloud integration, go to Settings > Data Sources and click "Add Data Source", select Azure, then in Advanced Settings > Security Capabilities, enable "Automation".

Configure Azure in Cortex#

ParameterDescriptionRequired
Application ID
Default Subscription IDYou can set the value either in the configuration or directly within the commands. If you set it in both places, the value in the command will override the configuration setting.
Default Resource Group NameYou can set the value either in the configuration or directly within the commands. If you set it in both places, the value in the command will override the configuration setting.
Azure AD endpointAzure AD endpoint associated with a national cloud.False
Trust any certificate (not secure)False
Use system proxy settingsFalse
Tenant IDFalse
Client SecretFalse

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

azure-nsg-security-rule-update#


Update a security rule. If one does not exist, it will be created.

Base Command#

azure-nsg-security-rule-update

Input#

Argument NameDescriptionRequired
subscription_idThe subscription ID.Optional
resource_group_nameThe name of the resource group.Optional
security_group_nameThe name of the security group.Required
security_rule_nameThe name of the rule to be updated.Required
directionThe direction of the rule. Possible values are: "Inbound" and "Outbound". Possible values are: Inbound, Outbound.Optional
actionWhether to allow the traffic. Possible values are "Allow" and "Deny". Possible values are: Allow, Deny.Optional
protocolThe protocol on which to apply the rule. Possible values are: "Any", "TCP", "UDP", and "ICMP". Possible values are: Any, TCP, UDP, ICMP.Optional
sourceThe source IP address range from which incoming traffic will be allowed or denied by this rule. Possible values are "Any", an IP address range, an application security group, or a default tag. Default is "Any".Optional
priorityThe priority by which the rules will be processed. The lower the number, the higher the priority. We recommend leaving gaps between rules - 100, 200, 300, etc. - so that it is easier to add new rules without having to edit existing rules. Default is "4096".Optional
source_portsThe source ports from which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk () to allow traffic on any port. Default is "".Optional
destinationThe specific destination IP address range for outgoing traffic that will be allowed or denied by this rule. The destination filter can be "Any", an IP address range, an application security group, or a default tag.Optional
destination_portsThe destination ports for which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk (*) to allow traffic on any port.Optional
descriptionA description to add to the rule.Optional
accessThe network traffic is allowed or denied. Possible values are: Allow, Deny.Optional

Context Output#

PathTypeDescription
Azure.NSGRule.nameStringThe rule's name.
Azure.NSGRule.idStringThe rule's ID.
Azure.NSGRule.etagStringThe rule's ETag.
Azure.NSGRule.typeStringThe rule's type.
Azure.NSGRule.provisioningStateStringThe rule's provisioning state.
Azure.NSGRule.protocolStringThe protocol. Can be "TCP", "UDP", "ICMP", "*".
Azure.NSGRule.sourcePortRangeStringFor a single port, the source port or a range of ports. Note that for multiple ports, `sourcePortRanges` will appear instead.
Azure.NSGRule.sourcePortRangesStringFor multiple ports, a list of these ports. Note that for single ports, `sourcePortRange` will appear instead.
Azure.NSGRule.destinationPortRangeStringFor a single port, the destination port or range of ports. Note that for multiple ports, `destinationPortRanges` will appear instead.
Azure.NSGRule.destinationPortRangesStringFor multiple ports, a list of destination ports. Note that for single ports, `destinationPortRange` will appear instead.
Azure.NSGRule.sourceAddressPrefixStringThe source address.
Azure.NSGRule.destinationAddressPrefixStringThe destination address.
Azure.NSGRule.accessStringThe rule's access. Can be "Allow" or "Deny".
Azure.NSGRule.priorityNumberThe rule's priority. Can be from 100 to 4096.
Azure.NSGRule.directionStringThe rule's direction. Can be "Inbound" or "Outbound".

azure-storage-account-update#


Updates a specific account storage.

Base Command#

azure-storage-account-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idThe subscription ID.Optional
account_nameThe name of the storage account.Required
skuGets or sets the SKU name, Required for account creation; optional for update. Possible values are: Premium_LRS, Premium_ZRS, Standard_GRS, Standard_GZRS, Standard_LRS, Standard_RAGRS, Standard_RAGZRS, Standard_ZRS.Optional
kindIndicates the type of storage account, Required for account creation; optional for update. Possible values are: Storage, StorageV2, BlobStorage, FileStorage, BlockBlobStorage.Optional
locationGets or sets the location of the resource. The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Required for account creation; optional for update. Possible values are: eastus, eastus2, westus, westeurope, eastasia, southeastasia, japaneast, japanwest, northcentralus, southcentralus, centralus, northeurope, brazilsouth, australiaeast, australiasoutheast, southindia, centralindia, westindia, canadaeast, canadacentral, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, australiacentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast.Optional
tagsGets or sets a list of tags that describe the resource.Optional
custom_domain_nameGets or sets the custom domain name assigned to the storage account.Optional
use_sub_domain_nameIndicates whether indirect CName validation is enabled. Possible values are: true, false.Optional
enc_key_sourceThe encryption keySource. Possible values are: Microsoft.Storage, Microsoft.Keyvault.Optional
enc_requireInfrastructureEncryptionIndicates whether the service applies a secondary layer of encryption with platform managed keys for data at rest. Possible values are: true, false.Optional
enc_keyvault_key_nameThe name of KeyVault key.Optional
enc_keyvault_key_versionThe version of KeyVault key.Optional
enc_keyvault_uriThe Uri of KeyVault.Optional
access_tierThe access tier for the account. Required where kind = BlobStorage. Possible values are: Hot, Cool.Optional
supports_https_traffic_onlyAllows https traffic only to storage service if sets to true. Possible values are: true, false.Optional
is_hns_enabledAccount HierarchicalNamespace enabled if sets to true. Possible values are: true, false.Optional
large_file_shares_stateIf set to Enabled, allows large file shares. Possible values are: Disabled, Enabled.Optional
allow_blob_public_accessIf set to true, allows public access to all blobs or containers in the storage account. Possible values are: true, false.Optional
minimum_tls_versionSets the minimum TLS version to be permitted on requests to storage. Possible values are: TLS1_0, TLS1_1, TLS1_2.Optional
network_ruleset_bypassSpecifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are: AzureServices, Logging, Metrics, None.Optional
network_ruleset_default_actionSpecifies the default action of allow or deny when no other rules match. Possible values are: Allow, Deny.Optional
network_ruleset_ipRulesSets the IP ACL rules.Optional
virtual_network_rulesSets the virtual network rules.Optional
allow_cross_tenant_replicationAllow or disallow cross AAD tenant object replication. Possible values are: true, false.Optional

Context Output#

PathTypeDescription
Azure.StorageAccount.idStringFully qualified resource ID for the resource.
Azure.StorageAccount.kindStringThe kind of storage account.
Azure.StorageAccount.locationStringThe geo-location where the resource lives.
Azure.StorageAccount.nameStringThe name of the resource.
Azure.StorageAccount.properties.isHnsEnabledBooleanAccount HierarchicalNamespace enabled if sets to true.
Azure.StorageAccount.properties.allowBlobPublicAccessBooleanIf set to true (default), allows public access to all blobs or containers in the storage account.
Azure.StorageAccount.properties.minimumTlsVersionStringSets the minimum TLS version to be permitted on requests to storage. Default is TLS 1.0.
Azure.StorageAccount.properties.allowSharedKeyAccessBooleanWhether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests (including shared access signatures) must be authorized with Azure Active Directory (Azure AD).
Azure.StorageAccount.properties.creationTimeDateThe creation date and time of the storage account in UTC.
Azure.StorageAccount.properties.primaryEndpointsStringThe URLs that are used to retrieve a public blob, queue, or table object.
Azure.StorageAccount.properties.primaryLocationStringThe storage account primary data center location.
Azure.StorageAccount.properties.provisioningStateStringThe status of the storage account at the time the operation was called.
Azure.StorageAccount.properties.routingPreference.routingChoiceStringThe kind of network routing the user chose.
Azure.StorageAccount.properties.routingPreference.publishMicrosoftEndpointsBooleanWhether Microsoft routing storage endpoints are to be published.
Azure.StorageAccount.properties.routingPreference.publishInternetEndpointsBooleanWhether internet routing storage endpoints are to be published.
Azure.StorageAccount.properties.encryptionStringEncryption settings to be used for server-side encryption for the storage account.
Azure.StorageAccount.properties.secondaryLocationStringThe geo-replicated secondary location for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
Azure.StorageAccount.properties.statusOfPrimaryStringWhether the storage account primary location is available or unavailable.
Azure.StorageAccount.properties.statusOfSecondaryStringWhether the storage account secondary location is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.
Azure.StorageAccount.properties.supportsHttpsTrafficOnlyBooleanIf set to true, allows https traffic only to storage service.
Azure.StorageAccount.sku.nameStringThe SKU name. Required for account creation; optional for update.
Azure.StorageAccount.sku.tierStringThe SKU tier. This is based on the SKU name.
Azure.StorageAccount.tagsunknownResource tags.
Azure.StorageAccount.typeStringThe storage account type.

azure-storage-blob-service-properties-set#


Sets properties for the blob service in a specific account storage.

Base Command#

azure-storage-blob-service-properties-set

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idThe subscription ID.Optional
account_nameThe name of the storage account.Required
delete_rentention_policy_enabledWhether DeleteRetentionPolicy is enabled. Possible values are: true, false.Optional
delete_rentention_policy_daysThe number of days the deleted item should be retained.Optional

Context Output#

PathTypeDescription
Azure.StorageAccountBlobServiceProperties.idStringThe resource ID.
Azure.StorageAccountBlobServiceProperties.nameStringThe name of the resource.
Azure.StorageAccountBlobServiceProperties.typeStringThe type of the resource.
Azure.StorageAccountBlobServiceProperties.properties.corsStringSpecifies CORS rules for the Blob service.
Azure.StorageAccountBlobServiceProperties.properties.defaultServiceVersionDateThe default version for requests to the Blob service if an incoming request's version is not specified. Possible values include version 2008-10-27 and all more recent versions.
Azure.StorageAccountBlobServiceProperties.properties.deleteRetentionPolicyunknownThe service properties for soft delete.
Azure.StorageAccountBlobServiceProperties.properties.isVersioningEnabledBooleanIf set to true, enables versioning.
Azure.StorageAccountBlobServiceProperties.properties.changeFeedunknownThe blob service properties for change feed events.
Azure.StorageAccountBlobServiceProperties.sku.nameStringThe SKU name.
Azure.StorageAccountBlobServiceProperties.sku.tierStringThe SKU tier.

azure-policy-assignment-create#


Creates a policy assignment.

Base Command#

azure-policy-assignment-create

Input#

Argument NameDescriptionRequired
nameName of the policy assignment.Required
subscription_idSubscription ID.Required
scopeThe scope of the policy assignment.Optional
policy_definition_idThe ID of the policy definition or policy set definition being assigned.Optional
display_nameThe assignment display name.Optional
parametersThe JSON object for policy properties parameters and their values.Optional
descriptionThis message will be part of the response in case of policy violation.Optional

Context Output#

PathTypeDescription
Azure.PolicyAssignment.IDstringThe resource ID of the policy assignment.
Azure.PolicyAssignment.NamestringThe name of the policy assignment.
Azure.PolicyAssignment.TypestringThe type of the resource (e.g., 'Microsoft.Authorization/policyAssignments').
Azure.PolicyAssignment.LocationstringThe location of the policy assignment.
Azure.PolicyAssignment.IdentityunknownThe managed identity associated with the policy assignment.
Azure.PolicyAssignment.Properties.DisplayNamestringThe display name of the policy assignment.
Azure.PolicyAssignment.Properties.DescriptionstringThe description of the policy assignment.
Azure.PolicyAssignment.Properties.PolicyDefinitionIdstringThe ID of the policy definition or policy set definition being assigned.
Azure.PolicyAssignment.Properties.ScopestringThe scope of the policy assignment.
Azure.PolicyAssignment.Properties.NotScopesunknownThe list of scopes that are excluded from the policy assignment.
Azure.PolicyAssignment.Properties.ParametersunknownThe parameter values for the assigned policy rule.
Azure.PolicyAssignment.Properties.MetadataunknownThe metadata associated with the policy assignment.
Azure.PolicyAssignment.Properties.EnforcementModestringThe policy assignment enforcement mode (e.g., 'Default' or 'DoNotEnforce').
Azure.PolicyAssignment.Properties.latestDefinitionVersionstringThe latest version of the policy definition available. This is only present if requested via the $expand query parameter.
Azure.PolicyAssignment.Properties.NonComplianceMessagesunknownThe messages that describe why a resource is non-compliant with the policy.
Azure.PolicyAssignment.Properties.DefinitionVersionstringThe version of the policy definition to use.
Azure.PolicyAssignment.Properties.OverridesunknownThe policy property value overrides.
Azure.PolicyAssignment.Properties.ResourceSelectorsunknownThe resource selectors to filter policies by resource properties.
Azure.PolicyAssignment.SystemDataunknownThe system metadata relating to this resource.

azure-postgres-config-set#


Updates a configuration of a server.

Base Command#

azure-postgres-config-set

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
server_nameName of the PostgreSQL server.Required
configuration_nameThe configuration setting name.Required
subscription_idSubscription ID.Optional
sourceSource of the configuration.Optional
valueValue of the configuration.Optional

Context Output#

There is no context output for this command.

azure-webapp-config-set#


Updates the configuration settings of an existing Azure Web App.

Base Command#

azure-webapp-config-set

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
nameName of the Web App.Required
http20_enabledConfigures a web site to allow clients to connect over http2.0. Possible values are: true, false.Optional
remote_debugging_enabledTrue if remote debugging is enabled; otherwise, false. Possible values are: true, false.Optional
min_tls_versionConfigures the minimum version of TLS required for SSL requests. Possible values are: 1.0, 1.1, 1.2, 1.3.Optional

Context Output#

PathTypeDescription
Azure.WebAppConfig.idStringResource ID.
Azure.WebAppConfig.nameStringResource name.
Azure.WebAppConfig.typeStringResource type.
Azure.WebAppConfig.locationStringResource location.
Azure.WebAppConfig.properties.numberOfWorkersNumberNumber of workers.
Azure.WebAppConfig.properties.defaultDocumentsUnknownList of default documents.
Azure.WebAppConfig.properties.netFrameworkVersionString.NET Framework version.
Azure.WebAppConfig.properties.phpVersionStringPHP version.
Azure.WebAppConfig.properties.pythonVersionStringPython version.
Azure.WebAppConfig.properties.nodeVersionStringNode.js version.
Azure.WebAppConfig.properties.powerShellVersionStringPowerShell version.
Azure.WebAppConfig.properties.linuxFxVersionStringLinux app framework and version.
Azure.WebAppConfig.properties.windowsFxVersionStringWindows container image name.
Azure.WebAppConfig.properties.requestTracingEnabledBooleanIndicates whether request tracing is enabled.
Azure.WebAppConfig.properties.remoteDebuggingEnabledBooleanIndicates whether remote debugging is enabled.
Azure.WebAppConfig.properties.remoteDebuggingVersionStringRemote debugging version.
Azure.WebAppConfig.properties.http20EnabledBooleanIndicates whether HTTP/2 is enabled.
Azure.WebAppConfig.properties.minTlsVersionStringMinimum TLS version required.
Azure.WebAppConfig.properties.ftpsStateStringState of FTP / FTPS service.
Azure.WebAppConfig.properties.webSocketsEnabledBooleanIndicates whether WebSockets are enabled.
Azure.WebAppConfig.properties.alwaysOnBooleanIndicates whether Always On is enabled.
Azure.WebAppConfig.properties.managedPipelineModeStringManaged pipeline mode.
Azure.WebAppConfig.properties.loadBalancingStringSite load balancing mode.
Azure.WebAppConfig.properties.autoHealEnabledBooleanIndicates whether Auto Heal is enabled.
Azure.WebAppConfig.properties.autoHealRulesUnknownAuto Heal rules configuration.
Azure.WebAppConfig.properties.cors.allowedOriginsUnknownCORS allowed origins.
Azure.WebAppConfig.properties.cors.supportCredentialsBooleanIndicates whether CORS supports credentials.
Azure.WebAppConfig.properties.apiDefinition.urlStringURL of the API definition.
Azure.WebAppConfig.properties.apiManagementConfig.idStringAzure API management integration ID.

azure-webapp-auth-update#


Updates the authentication and authorization settings of an existing Azure Web App.

Base Command#

azure-webapp-auth-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
nameName of the Web App.Required
enabledTrue if the Authentication / Authorization feature is enabled for the current app; otherwise, false. Possible values are: true, false.Optional

Context Output#

PathTypeDescription
Azure.WebAppAuth.idStringResource ID.
Azure.WebAppAuth.nameStringResource Name.
Azure.WebAppAuth.typeStringResource type.
Azure.WebAppAuth.properties.enabledBooleanIndicates whether Authentication/Authorization is enabled for the app.
Azure.WebAppAuth.properties.runtimeVersionStringThe RuntimeVersion of the Authentication/Authorization feature.
Azure.WebAppAuth.properties.unauthenticatedClientActionStringThe action to take when an unauthenticated client attempts to access the app.
Azure.WebAppAuth.properties.tokenStoreEnabledBooleanIndicates whether the Azure App Service Authentication platform’s token store is enabled.
Azure.WebAppAuth.properties.allowedExternalRedirectUrlsUnknownExternal URLs that are allowed to be redirected to as part of logging in or logging out of the app.
Azure.WebAppAuth.properties.defaultProviderStringThe default authentication provider to use when multiple providers are configured.
Azure.WebAppAuth.properties.clientIdStringThe Client ID of the app used for AAD login.
Azure.WebAppAuth.properties.clientSecretStringThe client secret associated with the AAD app.
Azure.WebAppAuth.properties.clientSecretSettingNameStringThe app setting that contains the client secret.
Azure.WebAppAuth.properties.issuerStringThe OpenID Connect Issuer URI that represents the entity that issues access tokens.
Azure.WebAppAuth.properties.allowedAudiencesUnknownThe list of audiences that can receive the authentication tokens.
Azure.WebAppAuth.properties.additionalLoginParamsUnknownAdditional parameters to send to the authentication provider.
Azure.WebAppAuth.properties.isAadAutoProvisionedBooleanTrue if AAD is auto-provisioned; otherwise false.
Azure.WebAppAuth.properties.googleClientIdStringThe Client ID of the app used for Google login.
Azure.WebAppAuth.properties.googleClientSecretStringThe client secret associated with the Google app.
Azure.WebAppAuth.properties.googleClientSecretSettingNameStringThe app setting that contains the client secret.
Azure.WebAppAuth.properties.facebookAppIdStringThe App ID of the Facebook app used for login.
Azure.WebAppAuth.properties.facebookAppSecretStringThe app secret associated with the Facebook app.
Azure.WebAppAuth.properties.facebookAppSecretSettingNameStringThe app setting that contains the Facebook app secret.
Azure.WebAppAuth.properties.twitterConsumerKeyStringThe OAuth 1.0a consumer key of the Twitter application used for login.
Azure.WebAppAuth.properties.twitterConsumerSecretStringThe consumer secret associated with the Twitter application.
Azure.WebAppAuth.properties.twitterConsumerSecretSettingNameStringThe app setting that contains the Twitter consumer secret.
Azure.WebAppAuth.properties.microsoftAccountClientIdStringThe OAuth 2.0 client ID for the Microsoft account provider.
Azure.WebAppAuth.properties.microsoftAccountClientSecretStringThe client secret for the Microsoft account provider.
Azure.WebAppAuth.properties.microsoftAccountClientSecretSettingNameStringThe app setting that contains the Microsoft account client secret.
Azure.WebAppAuth.properties.appleClientIdStringThe client ID for the Apple provider.
Azure.WebAppAuth.properties.appleClientSecretStringThe client secret for the Apple provider.
Azure.WebAppAuth.properties.appleClientSecretSettingNameStringThe app setting that contains the Apple provider client secret.
Azure.WebAppAuth.properties.authFilePathStringThe path to the authentication configuration file.

azure-mysql-flexible-server-param-set#


Updates a configuration of a server.

Base Command#

azure-mysql-flexible-server-param-set

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
server_nameName of the MySQL flexible server.Required
configuration_nameThe name of the server configuration.Required
sourceSource of the configuration.Optional
valueValue of the configuration.Optional

Context Output#

There is no context output for this command.

azure-monitor-log-profile-update#


Updates a log profile in Azure Monitoring REST API.

Base Command#

azure-monitor-log-profile-update

Input#

Argument NameDescriptionRequired
log_profile_nameThe name of the log profile to update.Required
subscription_idsubscription ID.Optional
locationResource location.Optional
retention_policy_daysNumber of days to retain logs.Optional
retention_policy_enabledWhether to enable the retention policy. Possible values are: true, false.Optional

Context Output#

PathTypeDescription
Azure.LogProfile.idStringThe fully qualified Azure resource ID for the log profile.
Azure.LogProfile.nameStringThe name of the log profile.
Azure.LogProfile.typeStringThe type of the resource (Microsoft.Insights/logProfiles).
Azure.LogProfile.locationStringThe location of the log profile.
Azure.LogProfile.tagsObjectResource tags.
Azure.LogProfile.properties.storageAccountIdStringThe resource ID of the storage account to which diagnostic logs are delivered.
Azure.LogProfile.properties.serviceBusRuleIdStringThe service bus rule ID to which diagnostic logs are sent.
Azure.LogProfile.properties.locationsArrayA list of regions for which events are collected.
Azure.LogProfile.properties.categoriesArrayA list of categories of logs that are collected.
Azure.LogProfile.properties.retentionPolicy.enabledBooleanSpecifies whether the retention policy is enabled.
Azure.LogProfile.properties.retentionPolicy.daysNumberThe number of days for the retention policy.

azure-disk-update#


Updates a disk.

Base Command#

azure-disk-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
disk_nameThe name of the managed disk that is being created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.Required
public_network_accessPolicy for controlling export on the disk. Possible values are: Disabled, Enabled.Optional
network_access_policyPolicy for accessing the disk via network. Possible values are: AllowAll, AllowPrivate, DenyAll.Optional
data_access_auth_modeAdditional authentication requirements when exporting or uploading to a disk or snapshot. Possible values are: AzureActiveDirectory.Optional

Context Output#

PathTypeDescription
Azure.Disk.idStringResource ID of the disk.
Azure.Disk.nameStringName of the disk.
Azure.Disk.typeStringType of the resource.
Azure.Disk.locationStringLocation of the disk.
Azure.Disk.tagsunknownResource tags.
Azure.Disk.managedByStringARM ID of the resource that manages the disk.
Azure.Disk.skuunknownThe disk SKU name.
Azure.Disk.zonesunknownA list of availability zones.
Azure.Disk.properties.timeCreatedStringThe time when the disk was created.
Azure.Disk.properties.diskSizeGBNumberSize of the disk in GB.
Azure.Disk.properties.diskIopsReadWriteNumberThe number of IOPS allowed for this disk.
Azure.Disk.properties.diskMBpsReadWriteNumberThe bandwidth allowed for this disk in MBps.
Azure.Disk.properties.diskIOPSReadOnlyNumberThe number of read-only IOPS for this disk.
Azure.Disk.properties.diskMBpsReadOnlyNumberThe read-only bandwidth for this disk in MBps.
Azure.Disk.properties.diskSizeBytesNumberThe size of the disk in bytes.
Azure.Disk.properties.networkAccessPolicyStringPolicy for accessing the disk via network.
Azure.Disk.properties.publicNetworkAccessStringPolicy for export on the disk.
Azure.Disk.properties.burstingEnabledBooleanWhether bursting is enabled on the disk.
Azure.Disk.properties.optimizationStringThe disk optimization setting.
Azure.Disk.properties.diskStateStringThe current state of the disk.
Azure.Disk.properties.supportedCapabilitiesunknownSupported capabilities of the disk.
Azure.Disk.properties.supportedPerformanceTiersunknownSupported performance tiers of the disk.
Azure.Disk.properties.supportedDiskTypesunknownSupported disk types for the disk.
Azure.Disk.properties.provisioningStateunknownThe provisioning state of the disk.
Azure.Disk.properties.timeModifiedunknownThe time when the disk was last modified.
Azure.Disk.properties.diskAccessIdStringThe ARM ID of the DiskAccess resource.
Azure.Disk.properties.networkProfileunknownThe network profile of the disk.
Azure.Disk.properties.creationDataunknownDisk creation data.
Azure.Disk.properties.encryptionunknownEncryption settings for the disk.
Azure.Disk.properties.encryptionSettingsCollectionunknownA collection of encryption settings.
Azure.Disk.properties.encryptionTypeStringThe type of key used to encrypt the data on the disk.
Azure.Disk.properties.securityProfileunknownSecurity profile for the disk.
Azure.Disk.properties.tieringProfileunknownTiering profile for the disk.
Azure.Disk.properties.supportedTierListunknownList of supported tiers for the disk.
Azure.Disk.properties.availabilityZoneStringAvailability zone of the disk.
Azure.Disk.properties.dataAccessAuthModeStringAdditional authentication requirements when exporting or uploading to a disk.
Azure.Disk.properties.osTypeStringThe operating system type.
Azure.Disk.properties.hyperVGenerationStringThe HyperVGenerationType of the virtual machine.
Azure.Disk.properties.lastOwnershipUpdateTimeStringThe last time ownership of the disk was updated.

azure-webapp-update#


Updates an Azure Web App.

Base Command#

azure-webapp-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
nameName of the Web App.Required
identity_typeManaged service identity type. Possible values are: None, SystemAssigned.Optional
https_onlyConfigures the web site to accept only https requests. Possible values are: true, false.Optional
client_cert_enabledConfigures the web site to accept only https requests. Possible values are: true, false.Optional

Context Output#

PathTypeDescription
Azure.WebApp.idStringFully qualified resource ID for the web app.
Azure.WebApp.nameStringThe name of the web app.
Azure.WebApp.typeStringThe resource type, e.g., Microsoft.Web/sites.
Azure.WebApp.locationStringGeographic location of the web app.
Azure.WebApp.kindStringThe kind of the app, e.g., app, functionapp, etc.
Azure.WebApp.tagsunknownResource tags as key-value pairs.
Azure.WebApp.identity.typeStringThe type of managed identity (SystemAssigned, UserAssigned, etc.).
Azure.WebApp.identity.principalIdStringThe principal ID of the system-assigned identity.
Azure.WebApp.identity.tenantIdStringThe tenant ID of the system-assigned identity.
Azure.WebApp.identity.userAssignedIdentitiesunknownThe list of user-assigned identities associated with the web app.
Azure.WebApp.properties.stateStringCurrent state of the web app (Running, Stopped, etc.).
Azure.WebApp.properties.enabledBooleanWhether the web app is enabled.
Azure.WebApp.properties.defaultHostNameStringDefault host name of the web app.
Azure.WebApp.properties.hostNamesunknownList of host names associated with the web app.
Azure.WebApp.properties.repositorySiteNameStringName of the repository site.
Azure.WebApp.properties.clientAffinityEnabledBooleanWhether client affinity is enabled.
Azure.WebApp.properties.clientCertEnabledBooleanWhether client certificates are enabled.
Azure.WebApp.properties.clientCertExclusionPathsStringPaths to exclude from client certificate authentication.
Azure.WebApp.properties.hostingEnvironmentStringApp Service Environment to use for the web app.
Azure.WebApp.properties.serverFarmIdStringResource ID of the associated App Service plan.
Azure.WebApp.properties.reservedBooleanWhether the web app is on a Linux plan.
Azure.WebApp.properties.isXenonBooleanWhether the web app is hosted in Xenon.
Azure.WebApp.properties.hyperVBooleanWhether Hyper-V is enabled for the web app.
Azure.WebApp.properties.siteConfig.appSettingsunknownList of app settings.
Azure.WebApp.properties.siteConfig.metadataunknownList of metadata settings.
Azure.WebApp.properties.siteConfig.connectionStringsunknownList of connection strings.
Azure.WebApp.properties.siteConfig.localMySqlEnabledBooleanWhether local MySQL is enabled.
Azure.WebApp.properties.siteConfig.alwaysOnBooleanWhether Always On is enabled.
Azure.WebApp.properties.siteConfig.http20EnabledBooleanWhether HTTP/2 is enabled.
Azure.WebApp.properties.siteConfig.minTlsVersionStringMinimum TLS version required.
Azure.WebApp.properties.siteConfig.ftpsStateStringFTPS state (Disabled, AllAllowed, etc.).
Azure.WebApp.properties.siteConfig.linuxFxVersionStringRuntime stack for Linux apps.
Azure.WebApp.properties.siteConfig.windowsFxVersionStringRuntime stack for Windows apps.
Azure.WebApp.properties.siteConfig.numberOfWorkersNumberNumber of workers allocated.
Azure.WebApp.properties.siteConfig.webSocketsEnabledBooleanWhether WebSockets are enabled.
Azure.WebApp.properties.siteConfig.preWarmedInstanceCountNumberNumber of pre-warmed instances.
Azure.WebApp.properties.siteConfig.acrUseManagedIdentityCredsBooleanWhether ACR uses managed identity credentials.
Azure.WebApp.properties.siteConfig.acrUserManagedIdentityIDStringUser-assigned identity ID for ACR.
Azure.WebApp.properties.siteConfig.scmTypeStringSource control management type.
Azure.WebApp.properties.siteConfig.use32BitWorkerProcessBooleanWhether to use 32-bit worker process.
Azure.WebApp.properties.siteConfig.autoHealEnabledBooleanWhether auto-heal is enabled.
Azure.WebApp.properties.siteConfig.autoHealRulesunknownAuto-heal rules configuration.
Azure.WebApp.properties.siteConfig.tracingOptionsStringTracing options.
Azure.WebApp.properties.siteConfig.remoteDebuggingEnabledBooleanWhether remote debugging is enabled.
Azure.WebApp.properties.siteConfig.remoteDebuggingVersionStringRemote debugging version.
Azure.WebApp.properties.siteConfig.detailedErrorLoggingEnabledBooleanWhether detailed error logging is enabled.
Azure.WebApp.properties.siteConfig.httpLoggingEnabledBooleanWhether HTTP logging is enabled.
Azure.WebApp.properties.siteConfig.requestTracingEnabledBooleanWhether request tracing is enabled.
Azure.WebApp.properties.siteConfig.requestTracingExpirationTimeDateTimeRequest tracing expiration time.
Azure.WebApp.properties.siteConfig.remoteDebuggingEnabledBooleanWhether remote debugging is enabled.
Azure.WebApp.properties.siteConfig.remoteDebuggingVersionStringRemote debugging version.
Azure.WebApp.properties.siteConfig.defaultDocumentsunknownList of default documents.
Azure.WebApp.properties.siteConfig.virtualApplicationsunknownList of virtual applications.
Azure.WebApp.properties.siteConfig.loadBalancingStringLoad balancing settings.
Azure.WebApp.properties.siteConfig.experimentsunknownExperiments configuration.
Azure.WebApp.properties.siteConfig.limitsunknownSite limits configuration.
Azure.WebApp.properties.siteConfig.autoSwapSlotNameStringAuto-swap slot name.
Azure.WebApp.properties.siteConfig.localMySqlEnabledBooleanWhether local MySQL is enabled.
Azure.WebApp.properties.siteConfig.ipSecurityRestrictionsunknownIP security restrictions.
Azure.WebApp.properties.siteConfig.scmIpSecurityRestrictionsunknownSCM IP security restrictions.
Azure.WebApp.properties.siteConfig.scmIpSecurityRestrictionsUseMainBooleanWhether SCM IP restrictions use main settings.
Azure.WebApp.properties.siteConfig.corsunknownCORS settings.
Azure.WebApp.properties.siteConfig.pushunknownPush settings.
Azure.WebApp.properties.siteConfig.apiDefinitionunknownAPI definition settings.
Azure.WebApp.properties.siteConfig.apiManagementConfigunknownAPI management configuration.
Azure.WebApp.properties.siteConfig.autoHealEnabledBooleanWhether auto-heal is enabled.
Azure.WebApp.properties.siteConfig.autoHealRulesunknownAuto-heal rules configuration.
Azure.WebApp.properties.siteConfig.tracingOptionsStringTracing options.
Azure.WebApp.properties.siteConfig.remoteDebuggingEnabledBooleanWhether remote debugging is enabled.
Azure.WebApp.properties.siteConfig.remoteDebuggingVersionStringRemote debugging version.
Azure.WebApp.properties.siteConfig.detailedErrorLoggingEnabledBooleanWhether detailed error logging is enabled.
Azure.WebApp.properties.siteConfig.httpLoggingEnabledBooleanWhether HTTP logging is enabled.
Azure.WebApp.properties.siteConfig.requestTracingEnabledBooleanWhether request tracing is enabled.

azure-acr-update#


Updates a container registry.

Base Command#

azure-acr-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
registry_nameThe name of the container registry.Required
allow_exportsWhether artifacts can be exported. Possible values are: disabled, enabled.Optional
public_network_accessWhether public network access is allowed for the container registry. Possible values are: disabled, enabled.Optional
anonymous_pull_enabledWhether to enable registry-wide pulls from unauthenticated clients. Possible values are: true, false.Optional
authentication_as_arm_policyWhether the policy is enabled or not. Possible values are: disabled, enabled.Optional

Context Output#

PathTypeDescription
Azure.ACR.idStringThe resource ID.
Azure.ACR.identityUnknownThe identity of the container registry.
Azure.ACR.locationStringThe location of the resource.
Azure.ACR.nameStringThe name of the resource.
Azure.ACR.properties.adminUserEnabledBooleanThe value that indicates whether the admin user is enabled.
Azure.ACR.properties.anonymousPullEnabledBooleanEnables registry-wide pull from unauthenticated clients.
Azure.ACR.properties.creationDateStringThe creation date of the container registry in ISO8601 format.
Azure.ACR.properties.dataEndpointEnabledBooleanEnable a single data endpoint per region for serving data.
Azure.ACR.properties.dataEndpointHostNamesUnknownList of host names that will serve data when dataEndpointEnabled is true.
Azure.ACR.properties.encryptionUnknownThe encryption settings of container registry.
Azure.ACR.properties.loginServerStringThe URL that can be used to log into the container registry.
Azure.ACR.properties.networkRuleBypassOptionsStringWhether to allow trusted Azure services to access a network restricted registry.
Azure.ACR.properties.networkRuleSetUnknownThe network rule set for a container registry.
Azure.ACR.properties.policiesUnknownThe policies for a container registry.
Azure.ACR.properties.privateEndpointConnectionsUnknownList of private endpoint connections for a container registry.
Azure.ACR.properties.provisioningStateStringThe provisioning state of the container registry at the time the operation was called.
Azure.ACR.properties.publicNetworkAccessStringWhether or not public network access is allowed for the container registry.
Azure.ACR.properties.statusUnknownThe status of the container registry at the time the operation was called.
Azure.ACR.properties.zoneRedundancyStringWhether or not zone redundancy is enabled for this container registry.
Azure.ACR.skuUnknownThe SKU of the container registry.
Azure.ACR.systemDataUnknownMetadata pertaining to creation and last modification of the resource.
Azure.ACR.tagsUnknownThe tags of the resource.
Azure.ACR.typeStringThe type of the resource.

azure-postgres-server-update#


Updates an existing server.

Base Command#

azure-postgres-server-update

Input#

Argument NameDescriptionRequired
resource_group_nameThe resource group name.Optional
subscription_idSubscription ID.Optional
server_nameName of the PostgreSQL server.Required
ssl_enforcementWhether to enable SSL authentication when connecting to the server. Possible values are: Disabled, Enabled.Optional

Context Output#

There is no context output for this command.

azure-key-vault-update#


Updates a key vault in the specified subscription.

Base Command#

azure-key-vault-update

Input#

Argument NameDescriptionRequired
vault_nameKey Vault name.Required
subscription_idThe subscription ID.Optional
resource_group_nameThe name of the resource group.Optional
enable_purge_protectionWhether protection against purge is enabled for this vault. This functionality is always enabled, it cannot be disabled. Possible values are: true.Optional
enable_soft_deleteWhether soft delete is enabled for this key vault. This functionality is always enabled, it cannot be disabled. Possible values are: true.Optional

Context Output#

PathTypeDescription
Azure.KeyVault.idStringResource ID.
Azure.KeyVault.nameStringKey Vault name.
Azure.KeyVault.typeStringResource type in Azure.
Azure.KeyVault.locationStringKey Vault location.
Azure.KeyVault.tagsunknownResource tags.
Azure.KeyVault.properties.sku.familyStringSKU family name.
Azure.KeyVault.properties.sku.nameStringSKU name to specify whether the key vault is a standard vault or a premium vault.
Azure.KeyVault.properties.tenantIdStringThe Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
Azure.KeyVault.properties.accessPoliciesunknownAn array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.
Azure.KeyVault.properties.accessPolicies.tenantIdStringThe Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
Azure.KeyVault.properties.accessPolicies.objectIdStringThe object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.
Azure.KeyVault.properties.accessPolicies.permissionsunknownPermissions the identity has for keys, secrets and certificates.
Azure.KeyVault.properties.enabledForDeploymentBooleanWhether Azure Virtual Machines are allowed to retrieve certificates stored as secrets from the key vault.
Azure.KeyVault.properties.enabledForDiskEncryptionBooleanWhether Azure Disk Encryption is allowed to retrieve secrets from the vault and unwrap keys.
Azure.KeyVault.properties.enabledForTemplateDeploymentBooleanWhether Azure Resource Manager is allowed to retrieve secrets from the key vault.
Azure.KeyVault.properties.enableSoftDeleteBooleanWhether soft delete is enabled for this key vault.
Azure.KeyVault.properties.enablePurgeProtectionBooleanWhether purge protection is enabled for this key vault.
Azure.KeyVault.properties.enableRbacAuthorizationBooleanWhether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions.
Azure.KeyVault.properties.vaultUriStringThe URI of the vault for performing operations on keys and secrets.
Azure.KeyVault.properties.provisioningStateStringThe current provisioning state.
Azure.KeyVault.properties.privateEndpointConnectionsunknownList of private endpoint connections associated with the key vault.
Azure.KeyVault.properties.networkAclsunknownRules governing the accessibility of the key vault from specific network locations.
Azure.KeyVault.properties.networkAcls.bypassStringWhat traffic can bypass network rules.
Azure.KeyVault.properties.networkAcls.defaultActionStringThe default action when no rules match from ipRules and virtualNetworkRules.
Azure.KeyVault.properties.networkAcls.ipRulesunknownThe list of IP address rules.
Azure.KeyVault.properties.networkAcls.virtualNetworkRulesunknownThe list of virtual network rules.

azure-sql-db-threat-policy-update#


Updates the database's threat detection policy.

Base Command#

azure-sql-db-threat-policy-update

Input#

Argument NameDescriptionRequired
server_nameServer name.Required
db_nameDatabase name.Required
email_account_admins_enabledWhether the alert is sent to the account administrators. Possible values: "true" and "false". Possible values are: true, false.Optional
subscription_idSubscription ID.Optional
resource_group_nameThe name of the resource group.Optional

Context Output#

PathTypeDescription
Azure.SqlDBThreatPolicy.kindStringKind of threat policy.
Azure.SqlDBThreatPolicy.locationStringThreat policy location.
Azure.SqlDBThreatPolicy.idStringThreat policy ID.
Azure.SqlDBThreatPolicy.nameStringThreat policy name.
Azure.SqlDBThreatPolicy.typeStringThreat policy type.
Azure.SqlDBThreatPolicy.stateStringThreat policy state.
Azure.SqlDBThreatPolicy.creationTimeStringThreat policy creation time.
Azure.SqlDBThreatPolicy.retentionDaysNumberNumber of days to keep in the Threat Detection audit logs.
Azure.SqlDBThreatPolicy.storageAccountAccessKeyStringThe identifier key of the Threat Detection audit storage account.
Azure.SqlDBThreatPolicy.storageEndpointStringThreat Detection audit storage account.
Azure.SqlDBThreatPolicy.emailAccountAdminsBooleanEmail accounts administrators who the alert is sent to.
Azure.SqlDBThreatPolicy.emailAddressesStringList of email addresses to which the alert is sent.
Azure.SqlDBThreatPolicy.disabledAlertsStringList of alerts that are disabled, or an empty string if no alerts are disabled.
Azure.SqlDBThreatPolicy.useServerDefaultunknownWhether to use the default server policy.
Azure.SqlDBThreatPolicy.databaseNameStringThe name of the database that the threat policy is related to.
Azure.SqlDBThreatPolicy.serverNameStringThe name of server that the threat policy is related to.

azure-sql-db-transparent-data-encryption-set#


Updates a logical database's transparent data encryption configuration.

Base Command#

azure-sql-db-transparent-data-encryption-set

Input#

Argument NameDescriptionRequired
server_nameServer name.Required
db_nameDatabase name.Required
stateThe state of the transparent data encryption. Possible values are: Disabled, Enabled.Required
subscription_idSubscription ID.Optional
resource_group_nameThe name of the resource group.Optional

Context Output#

There is no context output for this command.

azure-cosmos-db-update#


Updates the properties of an existing Azure Cosmos DB database account.

Base Command#

azure-cosmos-db-update

Input#

Argument NameDescriptionRequired
account_nameCosmos DB database account name.Required
disable_key_based_metadata_write_accessWhether to disable write operations on metadata resources via account keys. Possible values are: true, false.Optional
subscription_idSubscription ID.Optional
resource_group_nameThe name of the resource group.Optional

Context Output#

PathTypeDescription
Azure.CosmosDB.idStringThe unique resource identifier of the ARM resource.
Azure.CosmosDB.nameStringThe name of the ARM resource.
Azure.CosmosDB.locationStringThe location of the resource group to which the resource belongs.
Azure.CosmosDB.kindStringThe database account type.
Azure.CosmosDB.identity.typeStringThe type of identity used for the resource.
Azure.CosmosDB.identity.userAssignedIdentitiesDictionaryThe list of user identities associated with the resource.
Azure.CosmosDB.properties.analyticalStorageConfiguration.schemaTypeStringThe analytical storage schema types.
Azure.CosmosDB.properties.apiPropertiesDictionaryAPI specific properties.
Azure.CosmosDB.properties.backupPolicyunknownThe policy for taking backups on an account.
Azure.CosmosDB.properties.capabilitiesListList of Cosmos DB capabilities for the account.
Azure.CosmosDB.properties.capacityIntegerProperties related to capacity enforcement on an account.
Azure.CosmosDB.properties.connectorOfferStringThe Cassandra connector offer type for the Cosmos DB database account.
Azure.CosmosDB.properties.consistencyPolicyStringThe consistency policy for the Cosmos DB database account.
Azure.CosmosDB.properties.corsListThe CORS policy for the Cosmos DB database account.
Azure.CosmosDB.properties.createModeStringThe mode of account creation.
Azure.CosmosDB.properties.customerManagedKeyStatusStringStatus of the Customer Managed Key feature on the account.
Azure.CosmosDB.properties.databaseAccountOfferTypeStringThe offer type for the Cosmos DB database account.
Azure.CosmosDB.properties.defaultIdentityStringThe default identity for accessing key vault used in features like customer managed keys.
Azure.CosmosDB.properties.disableKeyBasedMetadataWriteAccessBooleanWhether write operations on metadata resources via account keys is disabled.
Azure.CosmosDB.properties.disableLocalAuthBooleanWhether local authentication is disabled.
Azure.CosmosDB.properties.documentEndpointStringThe connection endpoint for the Cosmos DB database account.
Azure.CosmosDB.properties.enableAnalyticalStorageBooleanWhether storage analytics are enabled.
Azure.CosmosDB.properties.enableAutomaticFailoverBooleanEnables automatic failover of the write region.
Azure.CosmosDB.properties.enableBurstCapacityBooleanWhether Burst Capacity is enabled.
Azure.CosmosDB.properties.enableCassandraConnectorBooleanEnables the Cassandra connector on the Cosmos DB account.
Azure.CosmosDB.properties.enableFreeTierBooleanWhether Free Tier is enabled.
Azure.CosmosDB.properties.enableMultipleWriteLocationsBooleanEnables the account to write in multiple locations.
Azure.CosmosDB.properties.enablePartitionMergeBooleanWhether Partition Merge is enabled.
Azure.CosmosDB.properties.enablePerRegionPerPartitionAutoscaleBooleanWhether PerRegionPerPartitionAutoscale is enabled.
Azure.CosmosDB.properties.failoverPoliciesListAn array that contains the regions ordered by their failover priorities.
Azure.CosmosDB.properties.instanceIdStringA unique identifier assigned to the database account.
Azure.CosmosDB.properties.ipRulesListList of IP rules.
Azure.CosmosDB.properties.isVirtualNetworkFilterEnabledBooleanWhether the Virtual Network ACL rules are enabled.
Azure.CosmosDB.properties.keyVaultKeyUriStringThe URI of the key vault.
Azure.CosmosDB.properties.keysMetadataDictionaryMetadata related to each access key for the given Cosmos DB database account.
Azure.CosmosDB.properties.locationsListAn array that contains all of the locations enabled for the Cosmos DB account.
Azure.CosmosDB.properties.minimalTlsVersionStringThe minimum allowed TLS version.
Azure.CosmosDB.properties.networkAclBypassStringWhich services are allowed to bypass firewall checks.
Azure.CosmosDB.properties.networkAclBypassResourceIdsListList of resource IDs that are allowed to bypass firewall checks.
Azure.CosmosDB.properties.privateEndpointConnectionsListList of private endpoint connections.
Azure.CosmosDB.properties.provisioningStateStringThe status of the Cosmos DB account at the time the operation was called.
Azure.CosmosDB.properties.readLocationsListAn array that contains the read locations enabled for the Cosmos DB account.
Azure.CosmosDB.properties.virtualNetworkRulesListList of Virtual Network ACL rules.
Azure.CosmosDB.properties.writeLocationsListAn array that contains the write locations enabled for the Cosmos DB account.