def create_or_update_at_management_group_with_http_info(policy_definition_name, parameters, management_group_id, custom_headers:nil)
      create_or_update_at_management_group_async(policy_definition_name, parameters, management_group_id, custom_headers:custom_headers).value!
    end
def create_or_update_at_management_group_with_http_info(policy_definition_name, parameters, management_group_id, custom_headers:nil)
      create_or_update_at_management_group_async(policy_definition_name, parameters, management_group_id, custom_headers:custom_headers).value!
    end
Creates or updates a policy definition in a management group.

 This operation creates or updates a policy definition in the given management
 group with the given name.

 @param policy_definition_name [String] The name of the policy definition to
 create.
 @param parameters [PolicyDefinition] The policy definition properties.
 @param management_group_id [String] The ID of the management group.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.