Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add developer_portal_url attribute on azurerm_api_management #7263

Merged
merged 2 commits into from Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -100,6 +100,11 @@ func dataSourceApiManagementService() *schema.Resource {
Computed: true,
},

"developer_portal_url": {
Type: schema.TypeString,
Computed: true,
},

"management_api_url": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -215,6 +220,7 @@ func dataSourceApiManagementRead(d *schema.ResourceData, meta interface{}) error
d.Set("gateway_url", props.GatewayURL)
d.Set("gateway_regional_url", props.GatewayRegionalURL)
d.Set("portal_url", props.PortalURL)
d.Set("developer_portal_url", props.DeveloperPortalURL)
d.Set("management_api_url", props.ManagementAPIURL)
d.Set("scm_url", props.ScmURL)
d.Set("public_ip_addresses", props.PublicIPAddresses)
Expand Down
Expand Up @@ -429,6 +429,11 @@ func resourceArmApiManagementService() *schema.Resource {
Computed: true,
},

"developer_portal_url": {
Type: schema.TypeString,
Computed: true,
},

"scm_url": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -640,6 +645,7 @@ func resourceArmApiManagementServiceRead(d *schema.ResourceData, meta interface{
d.Set("gateway_url", props.GatewayURL)
d.Set("gateway_regional_url", props.GatewayRegionalURL)
d.Set("portal_url", props.PortalURL)
d.Set("developer_portal_url", props.DeveloperPortalURL)
d.Set("management_api_url", props.ManagementAPIURL)
d.Set("scm_url", props.ScmURL)
d.Set("public_ip_addresses", props.PublicIPAddresses)
Expand Down
2 changes: 2 additions & 0 deletions website/docs/d/api_management.html.markdown
Expand Up @@ -51,6 +51,8 @@ output "api_management_id" {

* `portal_url` - The URL of the Publisher Portal.

* `developer_portal_url` - The URL for the Developer Portal associated with this API Management service.

* `public_ip_addresses` - The Public IP addresses of the API Management Service.

* `publisher_name` - The name of the Publisher/Company of the API Management Service.
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/api_management.html.markdown
Expand Up @@ -289,6 +289,8 @@ In addition to all arguments above, the following attributes are exported:

* `portal_url` - The URL for the Publisher Portal associated with this API Management service.

* `developer_portal_url` - The URL for the Developer Portal associated with this API Management service.

* `public_ip_addresses` - The Public IP addresses of the API Management Service.

* `scm_url` - The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
Expand Down